Atomic PEK Swap UI — Robust Memo-Based Tracking Is Live!

We’ve rolled out a major set of upgrades to the PeakeCoin Atomic Swap UI tonight:


1. Memo-Based Swap Tracking

  • Every marketSell transaction now uses a unique memo (e.g., AtomicSwap-<timestamp>-<random>).
  • The memo is shown in the UI and the debug log so you can always track your swap.

2. Automated Swap State Tracking

  • Every time you start a swap, its details (memo, symbol, quantity, account, timestamp, etc.) are saved to localStorage as a pending swap.
  • The UI tracks and updates the swap status: pending, complete, or timeout.

3. Resilient Polling & Resume

  • If you reload or crash your browser, the app checks for any pending swaps on load and resumes polling for a payout using the stored memo and txId.
  • When the payout is detected, your swap is marked as complete and removed from storage.
  • If it times out, you’ll know.

4. Wider & More Verbose BlockLog Search

  • The system now searches ±50 blocks to avoid missing transactions due to timing.
  • Each block’s number and transaction count is logged, including every transaction’s payload and log.

5. Better User Experience

  • If a swap is being resumed after reload, the UI notifies you right away.
  • The debug log shows every step in detail—memo, txId, blocks checked, transactions found, and more.

🚦 Result:

The Atomic Swap UI is now robust, user-friendly, and can recover from reloads or browser crashes. Swaps are tracked by unique memos and the entire process is automated.

Try it out: Atomic PEK Swap


PeakeCoin Team 🦀



0
0
0.000
0 comments