portis-project / web-sdk

Portis Web SDK
https://portis.io
MIT License
77 stars 31 forks source link

eth.signTransaction is rejected when Ether balance is zero #70

Open kostysh opened 4 years ago

kostysh commented 4 years ago

Normally, the calling of web3.eth.signTransaction should result in the signature dialogue. But if a balance of the account is insufficient to pay a gas fee then the Portis wallet does not allow to sign a transaction and showing a regular wallet window (not confirmation or signature dialogue). This behaviour is not logical because I do not want to send a transaction but just sign it for later use. Here is how the Portis signTransaction dialogue look like in case of insufficient funds. Screenshot from 2020-08-21 14-53-45

tomteman commented 4 years ago

@kostysh Can you please provide an example of a well-known web3 provider that allows such behavior? (signing txs when a user has insufficient funds).