diff options
| author | Adam Soltys <[email protected]> | 2026-06-28 14:25:09 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-06-28 14:25:09 -0700 |
| commit | a267f7f37fd178ebb58871188067b571b18a67f1 (patch) | |
| tree | 1b31c134c568fa04f0305f1e604d693310217d72 /src/api.js | |
| parent | 06376a71d4b9a4f579095933d91fe0a369b5e0fe (diff) | |
| download | coinosv3-a267f7f37fd178ebb58871188067b571b18a67f1.tar.gz coinosv3-a267f7f37fd178ebb58871188067b571b18a67f1.zip | |
Gifts: re-view link/QR for unclaimed gifts + mark claimed ones in history
Persist a per-account gift record (shareable link/code + amount, plus a locked
gift's claim code) when a gift is created, so:
- Unclaimed gifts in History get a 'Gift link' button that re-opens the QR + link
(and the claim code for locked gifts), to re-share without recreating the gift.
- Once a gift's coin is spent and we didn't revoke it, it shows in History as
'claimed' instead of vanishing. Revoking marks the record so a reclaim isn't
mislabelled as claimed.
Verified on regtest: create → outstanding=1, link stored; after the recipient
claims → outstanding=0, claimed=1 with the right amount.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'src/api.js')
0 files changed, 0 insertions, 0 deletions
