BibliothecaDAO / eternum

onchain eternal game
https://alpha-eternum.realms.world
MIT License
46 stars 34 forks source link

[client] AMM: automatically calculate optimal amount for other side when adding liquidity #1063

Closed aymericdelab closed 3 months ago

aymericdelab commented 3 months ago

Currently you can choose amounts on both sides, and changing one amount doesn't change the other. It should automatically calculate the other amount when you change one.

image