extension icon indicating copy to clipboard operation
extension copied to clipboard

Refactor: Cancel STX transactions

Open Aman-zishan opened this issue 3 weeks ago • 7 comments

This PR :

  • implements cancelling pending stacks transactions #3406
  • Rework of #5501 & duplicate: #5520
  • Includes changes from #5500
  • Avoided code duplication
  • Reusable react components
Screenshot 2024-06-24 at 5 44 41 PM

(the layout in this video is outdated)

https://github.com/leather-wallet/extension/assets/55238388/022dd8aa-8510-4d91-afa7-6480d1dbaed8

Dropped Tx: https://explorer.hiro.so/txid/0x39dfa74f30d600cd82754030851a72763be3cdda0be9d04f6b777719400841fa?chain=testnet&api=https%3A%2F%2Fapi.nakamoto.testnet.hiro.so

Burn Tx: https://explorer.hiro.so/txid/0x3095aa2f935c74e858caeb948c8fd20f84a5d0e9d4f4713685cb0d0c8ed2cecb?chain=testnet&api=https%3A%2F%2Fapi.nakamoto.testnet.hiro.so

Summary by CodeRabbit

  • New Features

    • Added a new CancelStxTransactionDialog for cancelling STX transactions.
  • Enhancements

    • Updated routing to support the new CancelStxTransactionDialog.
    • Relocated IncreaseBtcFeeDialog and IncreaseStxFeeDialog for better organization.

Aman-zishan avatar Jun 13 '24 11:06 Aman-zishan