Uniswap V3 Built From Scratch
A Uniswap V3 clone built from scratch for educational purposes. Part of free and open-source Uniswap V3 Development Book.
Questions?
Each milestone has its own section in the GitHub Discussions. Don't hesitate to ask questions about anything that's not clear in the book!
How to Run
- Ensure you have Foundry installed.
- Install the dependencies:
$ forge install $ cd ui && yarn
- Run Anvil:
$ make anvil
- Set environment variables and deploy contracts:
$ source .envrc $ make deploy
- Start the UI:
$ cd ui && yarn start
- In Metamask, import this private key and connect to
localhost:8545
:0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
- Enjoy!