• Stars
    star
    281
  • Rank 147,023 (Top 3 %)
  • Language
    Solidity
  • License
    Other
  • Created over 2 years ago
  • Updated 9 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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!

More Repositories

1

blockchain_go

A simplified blockchain implementation in Golang
Go
4,102
star
2

uniswapv3-book

Uniswap V3 Development Book
JavaScript
596
star
3

flash-loans-comparison

Comparison of flash loan solutions on Ethereum
Solidity
269
star
4

zuniswapv2

UniswapV2 clone made in educational purposes
Solidity
171
star
5

awesome-blockchain

A curated list of blockchain resources for developers
Makefile
119
star
6

zuniswap

UniswapV1 clone made in educational purposes
JavaScript
117
star
7

tinybit

Tiny Bitcoin Node [Work in Progress]
Go
40
star
8

uniswapv3-unrefunded-eth-poc

Solidity
38
star
9

upgradeable-proxy-from-scratch

Code from "Upgradeable proxy contract from scratch" blog post
JavaScript
24
star
10

defi-strategy-eth-staking

Leveraged ETH staking strategy contract
Solidity
21
star
11

uniswapv2-contracts

Uniswap V2 contracts, ready to be deployed to local or test network
Solidity
14
star
12

ethernaut-solutions

My solutions for Ethernaut, https://ethernaut.openzeppelin.com/
Solidity
10
star
13

rails_telegram_bot

Rails Telegram Bot
Ruby
8
star
14

eosgo

Instead, use:
Go
7
star
15

StackUnderflow

A clone of StackOverflow
Ruby
6
star
16

eos-abi

ABI deserializer for EOS
Go
4
star
17

uniswapv4-book

🚧 WORK IN PROGRESS 🚧
JavaScript
4
star
18

eosio-alpine

Alpine Linux based Docker image of EOS blockchain
Dockerfile
3
star
19

titan-finance-analysis

Analysis of the TITAN fall
JavaScript
3
star
20

manzana-client

Ruby
2
star
21

opscript

A viewer and debugger of Bitcoin scripts.
Go
2
star
22

go-blogs-demo

An example multi-tenancy application in Golang
Go
1
star
23

bank_client

Ruby
1
star
24

micros

A basic microservices setup
Go
1
star
25

switter

Twitter-like application on Ruby on Rails from scratch
Ruby
1
star
26

jeiwan.github.io

A blog about blockchains and smart contracts development
HTML
1
star