Skip to content
This repository has been archived by the owner on Mar 11, 2022. It is now read-only.

[UX] Boba Gateway/Bridge: Subtract gas fees automatically #453

Open
wsdt opened this issue Mar 4, 2022 · 1 comment
Open

[UX] Boba Gateway/Bridge: Subtract gas fees automatically #453

wsdt opened this issue Mar 4, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@wsdt
Copy link
Contributor

wsdt commented Mar 4, 2022

Thought I would just drop this here. When bridging ETH to Boba (Rinkeby in this case) then the transaction would fail when trying to transfer the full amount.

What I've seen for some other bridges etc. is that they automatically subtract the gas from the amount to transfer which makes the bridge way more user-friendly.

Some suggestions:

  • Directly subtract the gas fee from within the smart contract
  • Just subtract the estimated gas fee client-side (+ some buffer maybe)
  • ...

image

Suggestions? Feedback?

@wsdt wsdt added the enhancement New feature or request label Mar 4, 2022
@CAPtheorem
Copy link
Contributor

Yes we had that feature ("Bridge All") but removed it because it was error prone. One issue was that users would select "Bridge All", but then wait for several minutes before signing the transaction. If the gas increased in that time window, the transaction would then fail, and conversely, if the gas decreased in that delay window, the user would have funds left in their account. Given that ETH is the fee token, it is particularity difficult to get "Bridge All" to work reliability in all circumstances.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants