Skip to content

umbrellaresearch/uniswap-v4-hooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Captain Hook

Captain Hook: Uniswap Hooks Tutorial

Intro

Welcome to our Uniswap V4 Hooks Guide repo! This repository is complementary to a series of tutorials to help developers gain a clear understanding of hooks within the Uniswap V4 protocol.

This repository will contain 3 different proofs of concept, accompanied by a tutorial blog post. To get the most out of it, we recommend following the corresponding tutorials:

Proof of Concept Tutorial Link
RBAC RBAC PoC
Dynamic Fees Dynamic Fees PoC
Liquidity Incentives Liquidity Incentives PoC

Install

To set up the project for development, you'll need to run the following command:

forge install

Test

Once you've installed the project, you can run the test suite using:

forge test

This will execute all the tests defined in the test suite and output the results.