This repository contains the exercises and the completed solution for the Uniswap Hook Incubator 5. It is based on the contents of the Atrium Academy - Uniswap Hook Incubator Course.
It was created by John Whitton as he worked through the course and is not an official atrium repository.
For documentation automatically generated by DeepWiki please
The following pages in this repository have been copied from the Atrium Academy Uniswap Hook Incubator course.
Following are a summary of the Exercises
- FirstHook.md
- DynamicFees.md
- LimitOrderHook1.md
- LimitOrderHook2.md
- JITRebalancing.md
- DynamicFeesNezlobinsDirectionalFee.md
- CustomCurve.md
- MEV.md
- CoincidenceOfWants.md
- SwapAndBridge.md
It is recommended that you work through each of the exercises and code the solution. This repository has completed solutions for each of the exercises which can be used for reference.
Additional references information including useful Uniswap Hook Incubator links, articles and repositories around Liquidity Provisioning, Solving, Arbitrage can be found here
- Currently, CICD workflow fails due to environment variables needing to be set up for the CICD pipeline.
Failing tests:
Encountered 1 failing test in test/TestSwapAndBridgeOptimismRouter.t.sol:TestSwapAndBridgeOptimismRouter
[FAIL: environment variable `RPC_SEPOLIA_URL` not found] constructor() (gas: 0)
# Clone this repository
git clone https://github.com/johnwhitton/uhi5-project.git# Install libraries includeing forge-std and v4-periphery
forge install$ forge build$ forge test$ forge fmt$ forge --help
$ anvil --help
$ cast --help