When the Seller website activate the Redemption Widget with the default options, the user is guided through the following steps:
-
Wallet connection (if needed) In case the user wallet is already connected, this step is skipped
-
By default, the Committed exchanges are shown to the user. These are the rNFT owned by the wallet and that the user can redeem.
The user selects an rNFT and clicks it to show the "Exchange Card". Optionally, the Redeem button can be directly clicked, which leads the user directly to the Redeem Form
-
Exchange Card This view shows details about the exchange, and presents a Redeem button (in case the rNFT is redeemable) that the user can click to jump to the Redeem Form
-
Redeem Form The user fills in the delivery details to get their physical item delivered
-
Redeem Confirmation The user needs to Initialize the Chat layer (signing a message with their wallet) to allow the delivery information to be sent to the Seller. XMTP is used as a chat layer, insuring decentralization and privacy of Buyer/Seller communication.
Once the Chat is Initialized, the user clicks "Confirm address and redeem", which:
- sends the delivery details to the Seller (via XMTP)
- sends the Redeem transaction on-chain (to be signed/confirmed by the user with their wallet)
-
Congratulations Once the Redeem transaction is confirmed on-chain, a congratulation message is shown to the user.
The user can:
- close the widget
- go back to select another rNFT.