Skip to content

Latest commit

 

History

History
36 lines (31 loc) · 1 KB

README.md

File metadata and controls

36 lines (31 loc) · 1 KB

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.

Front-end application screenshot

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

  1. Ensure you have Foundry installed.
  2. Install the dependencies:
    $ forge install
    $ cd ui && yarn
  3. Run Anvil:
    $ make anvil
  4. Set environment variables and deploy contracts:
    $ source .envrc
    $ make deploy
  5. Start the UI:
    $ cd ui && yarn start
  6. In Metamask, import this private key and connect to localhost:8545:
    0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
    
  7. Enjoy!