Closed leovigna closed 2 years ago
Example Transaction Flow UXs
/cib
Branch issue-131 created! Clone with:
git fetch && git checkout --track origin/issue-131
Rebase develop
branch changes with:
git checkout issue-131 && git rebase develop
/cib
Branch already exists
Description
Sometimes certain blockchain interactions require a specific order of transactions that MUST be made sequentially. This transaction "flow" is often displayed to users in the form of a modal that prompts the user for wallet confirmations, waits for tx confirmation, and then prompts for additional wallet confirmation etc...
Common use case for this type of UX is for something like a token bridge:
The goal of the
TransactionFlowModal
component is to create a flexible component that can accommodate different sequential transaction "stages", each with their own transaction data and user descriptions. The component should track progress and wait for confirmations. On the backend side of things, we should also design the data model to support recovery of an interrupted transaction flow (eg. user complets step1 but then closes their tab).Features
Tasks