aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/ark.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-08-03 09:25:47 -0700
committerAdam Soltys <[email protected]>2026-08-03 09:25:47 -0700
commit6cce1f7fdbf487222e919bc2f50870d539f19b8c (patch)
tree24b1d80d2ebd1c61216b46dfc8f90b11724d47a4 /src/features/ark.js
parentc7ba5d5f0c8e80da1133fc6f53cc37bfedc281f2 (diff)
downloadcoinosv3-6cce1f7fdbf487222e919bc2f50870d539f19b8c.tar.gz
coinosv3-6cce1f7fdbf487222e919bc2f50870d539f19b8c.zip
BOLT 12 offers with a custom memo on the Spending receive page
Mining pools (Ocean) and payroll pay to a reusable offer rather than a lightning address, and the memo is how the payer labels it. A disclosure under the payment address mints one: the registrar's new NIP-98'd /offer endpoint asks the ASP's CLN for an `amount: any` offer carrying the memo, keyed to the caller's name (issuer = their address, so two users' identical memos can't collapse onto one CLN offer). Up to ten each, identical memos reuse the existing offer, and GET lists them. Settled offer payments already had a home: the registrar's settle loop now resolves a custom offer id to its owner and hands it to the same forwarder the default offer uses — an instant, free arkoor send into the user's Spending balance. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Wvj4aoeMZwA7VUGdJP9Swi
Diffstat (limited to 'src/features/ark.js')
0 files changed, 0 insertions, 0 deletions