Uniswap V2 - Swap Tokens | DeFi
Channel: Smart Contract Programmer
Date: 2021-03-20

Let's learn about DeFi. This video explains how to trade an ERC20 token for another using  a decentralized exchange called Uniswap.

Overview 0:20
Solidity code 1:18
Test 4:46
Run test using Ganache 7:25

#DeFi #Uniswap #SmartContract #Ethereum

Code: https://github.com/t4sk/defi-by-example

# References
Uniswap https://app.uniswap.org/
Etherscan https://etherscan.io

Follow on Twitter: @ProgrammerSmart https://twitter.com/ProgrammerSmart
Join me on Discord: https://discord.gg/Ny8sPaj
Website: https://smartcontractprogrammer.com