diff options
| author | Adam Soltys <[email protected]> | 2026-07-06 00:08:34 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-07-06 00:08:34 -0700 |
| commit | 8e2ff4976db3d7586d7b9c993a94cf9bea071a12 (patch) | |
| tree | 47a1bf687ef7bbbc3545f81f060edb782c056b5f /src/api.js | |
| parent | a3783d7e7f53709a8f8352494b9e89583e46f85b (diff) | |
| download | coinosv3-8e2ff4976db3d7586d7b9c993a94cf9bea071a12.tar.gz coinosv3-8e2ff4976db3d7586d7b9c993a94cf9bea071a12.zip | |
Ark zaps PoC — a NIP-61-shaped zap protocol over arkoor
Lightning zaps are welded to LNURL+bolt11; nutzaps (NIP-61) proved the
alternative shape, and ark fits it better than Cashu because delivery
already exists (the mailbox). Draft protocol, kinds provisional:
kind 10037 (replaceable) announces the wallet's ark address+network;
the zap itself is a plain instant arkoor send; kind 9737 is the
sender-signed receipt tagging recipient, amount, comment, and the
delivered vtxo id — so the receipt is checkable against the actual
payment, unlike a bare attestation.
UX: paste an npub into Send and hal offers the zap (needs both the ark
and sync features; npub decoding is inline bech32 so ark-only builds
stay lean). The nostr layer gains generic publishEvent/fetchEvents,
exposed through the sync seam as wallet.nostrPublish/nostrFetch.
Proven on regtest against a mini NIP-01 relay: announce, resolve,
zap 1,000 sats with a comment, instant receipt+delivery, vtxo match.
Co-Authored-By: Claude Fable 5 <[email protected]>
Diffstat (limited to 'src/api.js')
0 files changed, 0 insertions, 0 deletions
