kishansudani / uniswapv3-code

Uniswap V3 clone built to learn smart-contracts development in Solidity

Home Page:https://uniswapv3book.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
  3. Run Anvil:
    $ 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!

About

Uniswap V3 clone built to learn smart-contracts development in Solidity

https://uniswapv3book.com/

License:Other


Languages

Language:Solidity 87.6%Language:JavaScript 10.3%Language:CSS 0.8%Language:Python 0.7%Language:HTML 0.5%Language:Makefile 0.1%