Skip to content

Add a toast notification when a buy or sell transaction is confirmed on the Stellar network #702

Description

@Chucks1093

Summary

After a buy or sell transaction is submitted, the user receives no feedback until they refresh the page. A success toast that fires once the transaction is confirmed on Stellar — with a link to Stellar Expert — would close this feedback gap.

Scope

  • Show a success toast after the buy or sell mutation settles with status confirmed
  • Toast message: 'Transaction confirmed' with the truncated tx hash
  • Include a 'View on Stellar Expert' link that opens the transaction on the correct network (mainnet or testnet)
  • Auto-dismiss the toast after 6 seconds
  • If the transaction fails show an error toast instead with the failure reason

Acceptance Criteria

  • Success toast shown with truncated tx hash on confirmation
  • 'View on Stellar Expert' link opens correct network URL
  • Toast auto-dismisses after 6 seconds
  • Error toast shown with failure reason on failed transaction
  • Only one toast shown per transaction (no duplicates on re-renders)

ETA: 12 hours


Coordinate on Telegram

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions