NIP-57: Zaps
NIP-57 defines zaps, a way to send Lightning payments to Nostr users and content with cryptographic proof that the payment occurred.
How It Works
- Client fetches recipient’s Lightning address from their kind 0 profile
- Client requests an invoice from the recipient’s LNURL server, including a zap request event
- User pays the invoice
- LNURL server publishes a kind 9735 zap receipt to Nostr relays
- Clients display the zap on the recipient’s content
Zap Request (kind 9734)
The zap request is a signed event that proves who sent the zap and to what content. It includes:
ptag with recipient pubkeyetag with event being zapped (optional)amounttag in millisatoshisrelaystag listing where to publish the receipt
Zap Receipt (kind 9735)
Published by the LNURL server after payment confirmation. Contains:
- The original zap request in a
descriptiontag bolt11tag with the paid invoicepreimagetag proving payment
Primary sources:
Mentioned in:
See also: