Uniswap V3 Development Book
👉 READ ONLINE  |  PRINT OR SAVE AS PDF 👈
This book will teach how to develop an advanced decentralized application! Specifically, we'll be building a clone of Uniswap V3, which is a decentralized exchange.
x * y = k
, which still makes it very powerful.We'll build a full clone of Uniswap V3. It won't be an exact copy and it won't be production-ready because we'll do something in our own way and we'll definitely introduce multiple bugs. So, don't deploy this to the mainnet!
While our focus will primarily be on smart contracts, we'll also build a front-end application as a side hustle. 🙂 I'm not a front-end developer and I cannot make a front-end application better than you, but I can show you how a decentralized exchange can be integrated into a front-end application.
The full code of what we'll build is stored in a separate repository:
https://github.com/Jeiwan/uniswapv3-code
You can read this book at:
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!
Milestone 0. Introduction
Milestone 1. First Swap
Milestone 2. Second Swap
Milestone 3. Cross-tick Swaps
Milestone 4. Multi-pool Swaps
Milestone 5. Fees and Price Oracle
Milestone 6: NFT positions
To run the book locally:
$ cargo install mdbook
$ cargo install mdbook-katex
$ git clone https://github.com/Jeiwan/uniswapv3-book
$ cd uniswapv3-book
$ mdbook serve --open