tahowallet / extension

Taho, the community owned and operated Web3 wallet.
https://taho.xyz
GNU General Public License v3.0
3.11k stars 394 forks source link

Express gas on Avalanche network in `nAVAX` #3653

Open michalinacienciala opened 11 months ago

michalinacienciala commented 11 months ago

For transactions made on Avalanche network we express gas in Gwei. Gwei is ETH-related. Avalanche's base asset is AVAX and smaller values are expressed in nAVAX, so that's the unit we should use when showing gas values.

image

image

Tested on extension-builds-3652.

Shadowfiend commented 11 months ago

Thinking quickly: networks carry base asset info, base assets could also include their minimum denomination (or something similar) as a string, with the UI pulling that to display the gas unit.