Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeiwan/uniswapv3-code
Uniswap V3 clone built to learn smart-contracts development in Solidity
https://github.com/jeiwan/uniswapv3-code
ethereum foundry smart-contracts solidity uniswap uniswap-v3
Last synced: about 3 hours ago
JSON representation
Uniswap V3 clone built to learn smart-contracts development in Solidity
- Host: GitHub
- URL: https://github.com/jeiwan/uniswapv3-code
- Owner: Jeiwan
- License: other
- Created: 2022-05-30T12:42:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-01T16:33:38.000Z (11 months ago)
- Last Synced: 2024-03-17T20:46:44.159Z (8 months ago)
- Topics: ethereum, foundry, smart-contracts, solidity, uniswap, uniswap-v3
- Language: Solidity
- Homepage: https://uniswapv3book.com/
- Size: 1.51 MB
- Stars: 238
- Watchers: 2
- Forks: 100
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://uniswapv3book.com).
![Front-end application screenshot](/screenshot.png)
## Questions?
Each milestone has its own section in [the GitHub Discussions](https://github.com/Jeiwan/uniswapv3-book/discussions).
Don't hesitate to ask questions about anything that's not clear in the book!## How to Run
1. Ensure you have [Foundry](https://github.com/foundry-rs/foundry) installed.
1. Install the dependencies:
```shell
$ forge install
$ cd ui && yarn
```
1. Run Anvil:
```shell
$ make anvil
```
1. Set environment variables and deploy contracts:
```shell
$ source .envrc
$ make deploy
```
1. Start the UI:
```shell
$ cd ui && yarn start
```
1. In Metamask, import this private key and connect to `localhost:8545`:
```
0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
```
1. Enjoy!