https://github.com/camerodev/uniswapv3-code
Uniswap V3 clone built to learn smart-contracts development in Solidity
https://github.com/camerodev/uniswapv3-code
ethereum smart-contracts sodlitiy uniswap
Last synced: about 1 month ago
JSON representation
Uniswap V3 clone built to learn smart-contracts development in Solidity
- Host: GitHub
- URL: https://github.com/camerodev/uniswapv3-code
- Owner: camerodev
- License: other
- Created: 2024-03-15T20:54:42.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-15T20:54:48.000Z (about 1 year ago)
- Last Synced: 2025-04-07T16:43:29.179Z (about 2 months ago)
- Topics: ethereum, smart-contracts, sodlitiy, uniswap
- Language: Solidity
- Homepage: https://uniswapv3book.com/
- Size: 1.49 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
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).

## 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
```
1. Run Anvil:
```shell
$ 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!