Autoplay
Autocomplete
Previous Lesson
Complete and Continue
Master Uniswap V3 Development
1. Introduction
1.0 Course Overview
1.1. Welcome (1:45)
1.2. Get access to code on GitHub (DO THIS NOW)
1.3. Join the Discord server
1.4. Support / Admin Questions
1.5. Get test ether
2. Uniswap Theory and Prerequisites
Recommended YouTube Content
PART 1: Uniswap contracts
Intro
Setup Local Environment to Run Scripts
Setup the project
How to run code in this section
Quoter and Quoter2
Quoter documentation walk-through (6:14)
Estimate swap results with Quoter (5:24)
Code: Estimate swap results with Quoter
Code: estimate price impact with Quoter2
Swap Router
1.1. SwapRouter docs walk-through (8:47)
1.2. Code
2.1. Code: Swap ETH for ERC20 tokens
3.1. Code: Swap ETH for WETH (wrap ether)
4.1. Code: Swap ERC20 tokens to ETH (multicall)
Smart Order Router
1.1. Find optimal route and execute swap (WETH to UNI) (7:30)
1.2. Code
2.1. Code: Find optimal route and execute swap (UNI to WETH)
Permit2
Deprecation Warning
1.1.Approve a swap with permit2 (5:20)
1.2. Code
Universal Router
Deprecation Warning
1.1. ETH -> ERC20 token (Uniswap V2) (4:48)
1.2. Code
2.2. Code: Mixed swap: (V3)ETH->USDC, (V2)USDC->DAI
PART 2: Build a Uniswap Interface with Swap Functionality
1.1. Intro
Setup
2.1. Clone the starter code
3. Connect a MetaMask wallet
3.1. Intro (0:40)
3.2. Create a service to manage Ethers.JS providers, signers & addresses (6:49)
3.3. Create a hook to manage MetaMask connections (3:24)
3.4. Add MetaMask Connect Button to the UI (7:03)
3.5. Outro (0:28)
4. Display a price quote
4.1. Intro (0:31)
4.2. Quoter docs walk-through (6:14)
4.3. Initialize Uniswap's Quoter contract (3:29)
4.4. Create service to generate swap quotes (7:15)
4.5. Add hooks to manage selected tokens and amounts (7:46)
4.6. Build token select modal in UI (6:25)
4.7. Complete UI for selecting tokens and inputting amounts (11:18)
4.8. Outro (0:46)
5. Display price impact
5.1. Intro (0:25)
5.2. Calculate price impact (11:23)
5.3. Add price impact to UI (2:53)
5.4. Outro (0:26)
6. Display Wallet Balances
6.1. Intro (0:35)
6.2. Create a service to get wallet token balances (3:59)
6.3. Add a hook to manage wallet token balances (4:25)
6.4. Add a hook to manage token decimal for displaying (3:19)
6.5. Display wallet token balances (3:59)
6.6. Display wallet token balances in token select modal (4:26)
6.7. Outro (0:37)
7. Allowances, approvals and the swap button
7.1. Intro (1:10)
7.2. Approve token allowance for Uniswap's router (9:31)
7.3. Manage token approvals (3:19)
7.4. Add SwapButton & walk-through code (6:59)
7.5. Allow users to approve tokens for Uniswap (2:38)
7.6. Outro (0:27)
8. Swap ERC20 tokens
8.1. Intro (1:06)
8.2. SwapRouter documentation walk-through (8:47)
8.3. Swap ERC20 for ERC20 tokens (8:51)
8.4. Implement swapping tokens in the app (1:28)
8.5. Outro (0:41)
9. Swap ETH for ERC20 Tokens
9.1. Intro (0:53)
9.2. Swap ETH for ERC20 tokens (3:58)
9.3. Outro (0:20)
10. Wrap ETH to WETH & unwrap WETH to ETH
10.1. Intro (1:08)
10.2. Wrap ETH to WETH (3:01)
10.3. Unwrap WETH to ETH (3:08)
10.4. Outro (0:29)
11. ERC20 to ETH swaps (multicall)
11.1 Intro (0:48)
11.2. Swap ERC20 tokens for ETH (7:23)
11.3. Outro (0:32)
PART 3: Liquidity
Intro
1. Find liquidity positions created by an address
Code walk-through (9:19)
Code
2. Create liquidity positions
Code walk-through (16:29)
Code
3. Get token quantities in a liquidity position
Code walk-through (9:59)
Code
4. Increase liquidity in a live liquidity position
Code walk-through (7:05)
Code
5. Decrease and collect liquidity from a live liquidity position
Code walk-through (8:14)
Code
Teach online with
Setup the project
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock