tbtc-dapp icon indicating copy to clipboard operation
tbtc-dapp copied to clipboard

Add information about how to recover if browser closes during deposit or redemption

Open john-light opened this issue 5 years ago • 2 comments

Currently the dapp does not pick up where it left off. There is not currently documentation about how to recover if the browser tab/window closes for whatever reason.

Edit: Recovery instructions could be documented here: https://github.com/keep-network/tbtc-website/blob/master/src/pages/developers/how-to-use-the-tbtc-dapp.md

john-light avatar Sep 23 '20 21:09 john-light

There are two prongs here:

  • If my initial deposit creation transaction fails to go through, I have no way to resume without doing some Etherscan hoop-jumping and manual deposit creation.
  • Subsequent to that, I can reload the page if things go wrong, including during redemption. However, if I close the page, figuring out how to resume is again complicated.

Both issues are solved once we've implemented a page where we list any deposits you currently own, their current state, and a button to resume the deposit or redemption flow if they're in it.

Shadowfiend avatar Sep 23 '20 21:09 Shadowfiend

For the first prong, there also appears to be a 50 block timer, after which the page stops watching for its creation (with no way to ask it to continue).

Agreed that a page listing deposits a user owns would solve this.

tdickman avatar Sep 23 '20 21:09 tdickman