create account

PeakeCoin Swap App – Real Progress, Real Problems (Happy Fathers Day) by paulmoon410

View this thread on: hive.blogpeakd.comecency.com
· @paulmoon410 ·
$0.90
PeakeCoin Swap App – Real Progress, Real Problems (Happy Fathers Day)
<center>![](https://images.ecency.com/DQmSDvSmVjKMLbuRFE4KQvtU3iPYhPsRxU5sQFyEZZnoNm6/image.png)<br>*Gotta Love AI for this one*</center>


<br><br><br>

Tonight’s updates, quick and dirty:

- Every marketSell now gets a unique memo (like `AtomicSwap-<timestamp>-<random>`), and you can actually see that in the UI and debug log. No more “which swap was mine?” nonsense.

- When you start a swap, all the details—memo, token, amount, account, even the txId and status—get dumped in localStorage as pendingSwap. If you refresh, it picks up right where you left off. Pending, complete, timeout—all tracked.

- If you reload the page and there’s a pending swap, it’ll keep polling for your payout (using memo and txId). If it finds your payout, you’re good; if not, it times out and tells you.

- BlockLog polling is way wider now. It scans ±50 blocks, logs every block and transaction detail, and leaves no stone unturned. The debug log shows all of it, so you know what the app is (or isn’t) seeing.

- If you reload mid-swap, the UI tells you, and the debug log gives you everything—memos, txIds, every transaction checked.

**Bottom line:**  
This thing actually tracks your swap, survives reloads, and tells you what’s up. You won’t get left in the dark if something breaks.

---

Now, on to the headaches, I’m stuck on getting the second Keychain transaction to go through. It’s just… not. Hivesigner is being stubborn, too. I’ll go through the code and figure it out, but for now, don’t be surprised if step two stalls out. That’s next up to squash.

---

**Test it out here:**  
[https://paulmoon410.github.io/peake_swap/](https://paulmoon410.github.io/peake_swap/)

Leave a comment if you know why Keychain or Hivesigner are being weird—or if you break it in some new way. I appreciate it.

—  
*PeakeCoin, Maryland made, bugs and all*
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authorpaulmoon410
permlinkpeakecoin-swap-app-real-progress
categoryhive-186392
json_metadata"{"app":"ecency/4.1.6-vision","tags":["hive-186392","pimp","neoxian","creativecoin","palnet","archon","proofofbrain","ctp","waivio","byte","ecency"],"format":"markdown+html","image":["https://images.ecency.com/DQmSDvSmVjKMLbuRFE4KQvtU3iPYhPsRxU5sQFyEZZnoNm6/image.png"],"thumbnails":["https://images.ecency.com/DQmSDvSmVjKMLbuRFE4KQvtU3iPYhPsRxU5sQFyEZZnoNm6/image.png"],"description":"Gotta Love AI for this one Tonight’s updates, quick and dirty: Every marketSell now gets a unique memo (like AtomicSwap--), and you can actually see that in the UI and debug log. No more “which swap was","image_ratios":["0.6664"],"type":"video"}"
created2025-06-16 02:49:36
last_update2025-06-16 02:49:36
depth0
children0
last_payout2025-06-23 02:49:36
cashout_time1969-12-31 23:59:59
total_payout_value0.454 HBD
curator_payout_value0.450 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,842
author_reputation41,560,308,794,470
root_title"PeakeCoin Swap App – Real Progress, Real Problems (Happy Fathers Day)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id143,379,641
net_rshares3,187,667,250,479
author_curate_reward""
vote details (40)