pendulum-chain / vortex

https://app.vortexfinance.co/
1 stars 1 forks source link

Make offramp flow continuable #57

Closed TorstenStueber closed 3 months ago

TorstenStueber commented 4 months ago

If the user closes their browser tab, then instead of losing access to their ephemeral accounts and losing tokens that are currently stored in them or being bridged to them, they should be able to recover and continue the offramping flow.

TODO

Use the local storage to store:

The state should uniquely identify where the flow currently is, identified by what transactions have been successfully executed:

Behavior

Extra Considerations

Architecture

To make this code clean, I recommend that we

TorstenStueber commented 4 months ago

Hey team! Please add your planning poker estimate with Zenhub @b-yap @bogdanS98 @ebma @gianfra-t

gianfra-t commented 4 months ago

How much of a refactor do we want to do here? I like the architecture idea, but should replace the current logic we have right now at polygon-offramp-staging? Or, is this relevant for when we integrate the new UI?

prayagd commented 3 months ago

Moved this to review as it is been currently reviewed

ebma commented 3 months ago

Closing this now that https://github.com/pendulum-chain/vortex/pull/70 is merged.