Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/umbrellaresearch/uni-v4-hooks-tutorial

Uniswap V4 Hooks PoCs
https://github.com/umbrellaresearch/uni-v4-hooks-tutorial

Last synced: about 1 month ago
JSON representation

Uniswap V4 Hooks PoCs

Awesome Lists containing this project

README

        

![Captain Hook](https://miro.medium.com/v2/resize:fit:1400/format:webp/1*pyGIlCX_v1CumaAEaMqR1A.png)

# 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](https://medium.com/@umbrellaresearch/uniswap-v4-hooks-a-deep-dive-with-captain-hook-i-6be5d1677539) |
| Dynamic Fees | [Dynamic Fees PoC](https://medium.com/@umbrellaresearch/uniswap-v4-hooks-a-deep-dive-with-captain-hook-ii-44b0efc84e45) |
| Liquidity Incentives | [Liquidity Incentives PoC](https://medium.com/@umbrellaresearch/uniswap-v4-hooks-guide-iii-liquidity-incentives-hook-29d77fead79d) |

## Install

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

```shell
forge install
```

## Test

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

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