almindor / etherwall

Ethereum QT5 Wallet
GNU General Public License v3.0
142 stars 59 forks source link

Allow to define nonce so i can send new "cancel" transaction? #138

Open slrslr opened 2 years ago

slrslr commented 2 years ago

On this page is said

The trick to “cancel” your pending transaction is by replacing the transaction with another 0 ETH transaction with a higher gas fee sending to yourself with the same nonce as the pending transaction.

Some wallets' interfaces will provide you with an advanced setting where you are able to set a higher gas fee and change the transaction Nonce.

can you please add possibility to set nonce so one can cancel the long unconfirmed transaction?

I have seen such unconfirmed transaction (pass-word "a") being marked invalid block or such and now less than 24 hours after submitting the TX it is no longer displayed in Etherwall 3.0.3-1 QT5.

almindor commented 2 years ago

This should be somewhat easy, tho the UI is already fairly packed. For your specific case I'd suggest using an alternative client to solve this short term however. If you want to be careful you can construct the unsigned transaction and then have geth sign it locally.

almindor commented 2 years ago

To be frank I'm considering deprecating Etherwall. I've been working on it as a single person/hobbist since day one with minimal contributions by anyone else. Just doing a new release is already taking too much of my time, not to mention keeping the server running.

With ETH2 on the horizon I think it's time for Etherwall to step aside. I'll be making an announcement with the official deprecation schedule soon.

slrslr commented 2 years ago

Thank you, i see that MetaMask web browser extension allows custom nonce (and cancel delayed pending low gas/fee Ethereum transaction).

  1. Creating account and then Importing wallet based on keystore file (.json)
  2. in Settings/Advanced it allows to enable custom nonce
  3. setting new transaction (TX) 3.1. value to zero 3.2. nonce same as pending TX nonce (seen in details on etherscan.io) 3.2. "Max fee (GWEI)" higher than pending TX once payment is confirmed, it will invalidate old pending TX