HODLERTECH / HODLER-Open-Source-Multi-Asset-Wallet

The Only Open Source Multi-Asset Wallet - Bitcoin (BTC), Bitcoin Cash (BCH), Litecoin (LTC), DASH, Ravencoin (RVN), DigiByte (DGB), Ethereum (ETH) and ERC20 tokens supported
https://hodler.tech
The Unlicense
36 stars 36 forks source link

When sending token while there is 0 ETH for GAS the transaction fails without a proper error message #62

Closed n074v41l4bl34u closed 6 years ago

n074v41l4bl34u commented 6 years ago

Right now if there is no ETH to pay for GAS, sending a token transfer transaction fails without any meaningful error. The wallet should inform the user:

Please choose whichever is more consistent with the current design.

In an ideal scenario the wallet could propose to sell some asset for ETH to cover the cost of GAS, but it is a nice-to-have feature so maybe in the future when there will be a public Hodler API.