Ubeswap / ubeswap-interface

🍠 An open source interface for the Ubeswap protocol
https://app.ubeswap.org
GNU General Public License v3.0
36 stars 54 forks source link

Allow for transaction fees to be paid in tokens the user has #286

Open AndruAllen opened 3 years ago

AndruAllen commented 3 years ago

Is your feature request related to a problem? Please describe. Valora users on Ubeswap used to pay transaction fees in cUSD. There was quite a bit of friction when wallet connections were updated and everyone needed Celo to pay for transactions now.

Describe the solution you'd like Allow users to control which token they'd like to pay transaction fees in. And instead of showing the user this error, instead prompt a user to first choose a token they have to cover fees.

Describe alternatives you've considered Use cUSD if present, then cEUR if cUSD isn't present, and then CELO if the other two aren't present

Additional context Current error when user doesn't have CELO to cover transaction fees. image

aaronmgdr commented 2 years ago

I think this might also depend on which wallet is being used, for instance im pretty sure when using metamask on CELO can be used