balancednetwork / balanced-network-interface

An open-source interface for the Balanced Network protocol (https://balanced.network)
https://app.balanced.network/
23 stars 22 forks source link

Add slippage param when supplying liquidity #1317

Open hetfly opened 7 months ago

FezBox commented 5 months ago

@hetfly is this still a valid issue?

hetfly commented 5 months ago

@FezBox yes, but not a priority imo. There was a new feature added while providing liquidity to protect users. Now it defaults to 2%, in the future we could add an UI input to edit the default slippage.

FezBox commented 4 months ago

when providing liquidity we want t he user to be able to specify maximum slippage

parrot9design commented 1 month ago

Here's how I thought we could handle this:

lp-slippage

(Makes it easy to add in the transfer fee(s) once we take this cross-chain)

The slippage tooltip should say:

If the price slips by more than this, your liquidity transaction will fail.