• Stars
    star
    236
  • Rank 164,521 (Top 4 %)
  • Language
    Solidity
  • License
    Other
  • Created almost 2 years ago
  • Updated 4 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
3,974
star
2

uniswapv3-book

Uniswap V3 Development Book
JavaScript
519
star
3

flash-loans-comparison

Comparison of flash loan solutions on Ethereum
Solidity
264
star
4

zuniswapv2

UniswapV2 clone made in educational purposes
Solidity
154
star
5

awesome-blockchain

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

zuniswap

UniswapV1 clone made in educational purposes
JavaScript
109
star
7

tinybit

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

uniswapv3-unrefunded-eth-poc

Solidity
39
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
13
star
12

ethernaut-solutions

My solutions for Ethernaut, https://ethernaut.openzeppelin.com/
Solidity
8
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

opscript

A viewer and debugger of Bitcoin scripts.
Go
3
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

bank_client

Ruby
1
star
22

go-blogs-demo

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

micros

A basic microservices setup
Go
1
star
24

switter

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

jeiwan.github.io

A blog about blockchains and smart contracts development
HTML
1
star