In this Ethereum blockchain development tutorial, learn how to build a token swapping dapp (a simple Matcha.xyz) using the 0x /swap API endpoint. This app aggregates liquidity across the greater DEX ecosystem surfaces the best price to the user.
0:00 - Intro
0:42 - What will you learn?
1:48 - DeFi & 0x Concepts
8:04 - Walk-through the Starter Code
10:51 - Connect to MetaMask
16:05 - Create a Modal for the Token List
20:26 - Fetch & Display Token List form CoinGecko API
31:25 - Display Selected Token Image & Symbol in Swap Box
36:06 - Get Price
49:27 - Get Quote
52:10 - Set a Token Allowance
1:06:58 - Perform the Swap
---
Signup for a free Alchemy account:
[ Ссылка ]
Written tutorial version:
[ Ссылка ]
GitHub repo:
[ Ссылка ]
Share your challenge project to get a Proof of Knowledge (PoK) NFT:
[ Ссылка ]
Alchemy University NFTs: [ Ссылка ]
Jessica Lin: [ Ссылка ]
Follow us on Twitter: [ Ссылка ]
Find answers on the Ethereum StackExchange:
[ Ссылка ]...
#DecentralizedExchange #Uniswap #RoadToWeb3 #AlchemyUniversity
![](https://i.ytimg.com/vi/tVvZ1ivp4X0/maxresdefault.jpg)