Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow MetaMask to overwrite nonces #4808

Closed
ghost opened this issue Jul 15, 2018 · 3 comments
Closed

Allow MetaMask to overwrite nonces #4808

ghost opened this issue Jul 15, 2018 · 3 comments

Comments

@ghost
Copy link

ghost commented Jul 15, 2018

When I use web3.eth.sendTransaction I can supply a nonce. I would like that this can also be used to overwrite pending txns. Currently, MetaMask ignores this request and simply creates a new transaction.

Suggestion: allow MetaMask to overwrite txns (or even add a "cancel" button to send a 0 eth self transaction) and add a warning to this overwrite: "You are overwriting transaction ".

@bdresser
Copy link
Contributor

@MoonMissionControl we plan on adding a "cancel" button for specific transactions, as well as a "cancel all" to clear out pending tx.

Check out #3312 & #4022, as well as MetaMask/Design#25

Closing for now, but feel free to re-open if you feel like the above don't cover what you're looking for.

@monokh
Copy link

monokh commented May 23, 2020

@bdresser This does address the issue from a metamask user perspective.
However some apps would like to provide custom parameters for the replacement transaction and for this they would need to specify the nonce. Metamask does not intend to allow this ability?

@C0deMunk33
Copy link

I would really like to add a cancel transaction button to my dApp, but to do this I need to be able to replace the tx with a custom nonce via web3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants