Uniswap V2 - Optimal One-sided Supply | DeFi
Channel: Smart Contract Programmer
Date: 24/04/2021

I want to add liquidity but only have one sided of the two tokens. What is the optimal amount of token to swap and add to liquidity?

What is the optimal amount to swap? 1:01
b = ? 1:43
s = ?  2:31
code 4:30
test 7:07

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

#DeFi #Uniswap #SmartContract #Ethereum #OptimalSupply

# References
https://blog.alphafinance.io/onesideduniswap/
https://etherscan.io/address/0x5ACedBA6C402e2682D312a7b4982eda0Ccf2d2E3#code

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