Just need a way to include a some data (a zap request nostr note) when fetching a bolt12 invoice. Not sure if thats possible @Rusty Russell
With lnurl we include this in the deschash (cln stores the original). So we can retrieve it when the invoice is paid and then we can send the zap.
Login to reply
Replies (4)
Or even if we had a payer signature or a signature from the lightning node. We just need some way to verify the zap was initiated by a pubkey and a way for clients to verify it was from the designated lightning node that sends the zaps.
can it be just a field?
user enters its own bolt12 and then its p2p and anonymous
You can use the payer_note field during invoice fetching to put some data in the invoice
Rusty just published a spec for BOLT 12 proof-of-payment which would form the basis of this like two weeks ago.