https://github.com/umbrellaresearch/uni-v4-hooks-tutorial
Uniswap V4 Hooks PoCs
https://github.com/umbrellaresearch/uni-v4-hooks-tutorial
Last synced: 17 days ago
JSON representation
Uniswap V4 Hooks PoCs
- Host: GitHub
- URL: https://github.com/umbrellaresearch/uni-v4-hooks-tutorial
- Owner: umbrellaresearch
- License: mit
- Created: 2023-11-14T00:22:50.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-05T22:13:29.000Z (8 months ago)
- Last Synced: 2025-06-19T10:07:30.133Z (24 days ago)
- Language: Solidity
- Homepage:
- Size: 13.3 MB
- Stars: 12
- Watchers: 1
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-uniswap-hooks - Captain Hook: Uniswap Hooks Tutorial
- awesome-uniswap-v4-resources - Captain Hook: Uniswap Hooks Tutorial
README

# 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.