superhero-com / superhero-wallet

Superhero Wallet – More than just a way to receive, store & send tokens on the æternity blockchain
https://wallet.superhero.com
ISC License
39 stars 38 forks source link

Improve error message under amount input field when user's ETH balance is too low to pay for the tx fee. #3037

Closed smaroudasunicorn closed 3 months ago

smaroudasunicorn commented 4 months ago

Story: When the users's ETH balance is too low to pay for the transaction fee we currently display "Not enough ETH balance" error.

Image

Users reported confusion when they are sending some token on Ethereum (different from ETH) about why they see such a message if their token balance is enough. The reason is that the user may not be aware the tx fees are paid in ETH.

Suggested improvement: update error texts for this field for all blockchains. As follows:

"AE balance is not enough to pay for transaction fee" "ETH balance is not enough to pay for transaction fee" "BTC balance is not enough to pay for transaction fee"

Liubov-crypto commented 3 months ago

LGTM