diff options
| author | Adam Soltys <[email protected]> | 2026-09-03 08:36:01 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-09-03 08:36:01 -0700 |
| commit | 0a60cce02569607296de4fb4811e50d6dc8c3f57 (patch) | |
| tree | 2ed10f185479bf3f1168ad8261e8a2a199e70412 /src/app.js | |
| parent | 593d77e65d59c6fdd244777b8f756f66d63c5426 (diff) | |
| download | coinosv3-0a60cce02569607296de4fb4811e50d6dc8c3f57.tar.gz coinosv3-0a60cce02569607296de4fb4811e50d6dc8c3f57.zip | |
The registrar grows a webhook API — the coinos.io-style merchant notify, self-custodial edition: a name's owner registers an https URL (NIP-98, owner or manager key) and every Lightning settlement for that name POSTs {type, address, amount, hash, preimage, memo, secret} there, firing on settlement independent of the ark delivery. URLs are vetted hard (https only, no credentials, every resolved address must be public unicast — RFC1918/CGNAT/loopback/link-local refused, re-checked before every delivery), retries back off 30s/5m/30m from a persisted queue, and GET /webhook shows the config plus the last delivery's outcome. Proven live: a throwaway name, a 21-sat Lightning payment, one webhook delivered
Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MrkLsNScXe9b6BviUSdmMr
Diffstat (limited to 'src/app.js')
0 files changed, 0 insertions, 0 deletions
