diff options
| author | Adam Soltys <[email protected]> | 2026-06-28 17:32:55 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-06-28 17:32:55 -0700 |
| commit | 6fd4469cd09226a3a8672251bc825a26945fcad5 (patch) | |
| tree | 155b561cbba8405b86fea8443de3afbbbbf31b99 /src/api.js | |
| parent | a267f7f37fd178ebb58871188067b571b18a67f1 (diff) | |
| download | coinosv3-6fd4469cd09226a3a8672251bc825a26945fcad5.tar.gz coinosv3-6fd4469cd09226a3a8672251bc825a26945fcad5.zip | |
Gifts: let recipients claim into an existing wallet, not just a new one
Opening a gift link when you already have wallet(s) now shows a 'Choose where to
receive it' screen — each known wallet (full accounts this session plus the
durable directory, deduped by xpub) plus 'Receive into a new wallet'. A
first-timer with no wallets goes straight to a fresh wallet as before.
Claiming into an existing wallet activates it non-provisionally and sweeps the
gift to its receive address (watch-only is fine — re-enter the seed to spend),
skipping the new-seed backup step. Both bearer and locked (NIP-17) gifts route
through the same claimGift() entry. Verified in-browser: selection lists the
wallet + new option + amount; claim-into-address mechanic proven on regtest.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'src/api.js')
0 files changed, 0 insertions, 0 deletions
