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

Transaction states: cancellation spike #83

Open
ryancreatescopy opened this issue Jul 31, 2019 · 0 comments
Open

Transaction states: cancellation spike #83

ryancreatescopy opened this issue Jul 31, 2019 · 0 comments
Assignees

Comments

@ryancreatescopy
Copy link
Contributor

Closely related to #82

This issue pertains to the transaction state work we've been looking into.

We need to figure out:

  • can we give users a short window after submitting a transaction to cancel it if they submitted the transaction in error? Similar to how you an undo sending an email in gmail.

It's better to help a small percentage of users rectify a mistake rather than ask all users to double and triple check their Txs

  • Can we offer this functionality in the dApp and send it to the wallet? E.g. can a user press a button to cancel a transaction in dApp or must it come from an interaction from within the wallet?
  • At what point can a user no longer cancel?
  • Can a dApp detect when the Tx in question has been cancelled so we can communicate that information back to the user in the dApp interface?

Pictured below is:

  • an example UI for our transaction states: can a user stop a transaction from here?
  • the MetaMask UI once you cancel a started Tx (for reference)

image
image

I believe this is important. The window for cancelling a transaction will likely be small so if we can save users seconds by allowing them to do this from the dApp UI this should make life easier for them.

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