Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/umbrellaresearch/uni-v4-hooks-tutorial
- Owner: umbrellaresearch
- License: mit
- Created: 2023-11-14T00:22:50.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-25T18:49:16.000Z (11 months ago)
- Last Synced: 2024-05-21T22:13:46.026Z (7 months ago)
- Language: Solidity
- Homepage:
- Size: 4.05 MB
- Stars: 10
- Watchers: 1
- Forks: 5
- 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
- awesome-uniswap-v4-resources - Captain Hook: Uniswap Hooks Tutorial
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.