Join our community: https://t.me/+DOylgFv1jyJlNzM0
Description
There is no transaction confirmation UI. After Freighter signs a transaction, users see nothing — no pending state, no confirmation, no explorer link. This is confusing for blockchain newcomers.
What Needs to Happen
- Show transaction lifecycle:
idle → signing → submitted → confirming → confirmed | failed
- On
submitted: show transaction hash with a link to Stellar Expert/Explorer
- Poll
GET /v1/streams/{id} every 2 seconds to detect indexer confirmation
- On
confirmed: show success state and update UI
- On
failed: show error with the Stellar error code and a retry button
- Build a reusable
<TransactionTracker /> component
Files
frontend/src/components/TransactionTracker.tsx (create)
Acceptance Criteria
Description
There is no transaction confirmation UI. After Freighter signs a transaction, users see nothing — no pending state, no confirmation, no explorer link. This is confusing for blockchain newcomers.
What Needs to Happen
idle → signing → submitted → confirming → confirmed | failedsubmitted: show transaction hash with a link to Stellar Expert/ExplorerGET /v1/streams/{id}every 2 seconds to detect indexer confirmationconfirmed: show success state and update UIfailed: show error with the Stellar error code and a retry button<TransactionTracker />componentFiles
frontend/src/components/TransactionTracker.tsx(create)Acceptance Criteria