- ππΎββοΈ
user
inputs
transaction details (recipient, amount, token etc) and passes inputs to library. - π»
wallet
transforms
unsafe inputs into validatedTransactionIntent
. - π
library
requests
Radix Core API to build transaction from intent and returns built transaction with human-readable fee to wallet. - π
library
signs
transaction - π
library
submits
signed transaction to Radix Core API which promtly returns initial OK/ERR response, wallet handles this initial response. Response containstxID
. - OPTIONAL π»
wallet
displays
transaction fee andtxID
and waits for user to confirm transaction with PIN code. - π
library
finalizes
signed transaction withtxID
to Radix Core API which promtly returns initial OK/ERR response, wallet handles this initial response. - π»
wallet
polls
status of transaction (using txID from step 5), using appropriate library api, and informs user of final CONFIRMED/REJECTED result. - ππΎββοΈ
user
acts
on any failures, e.g. presses "Retry"-button, if prompted with one because of network connection issues during step 7.
Created
April 2, 2021 15:42
-
-
Save Sajjon/ccbdc5c36f1b77d6e34ab72a77d1d7e9 to your computer and use it in GitHub Desktop.
Make tx flow
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment