mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 08:25:53 -05:00
Update 57.md
Co-authored-by: Alex Gleason <alex@alexgleason.me>
This commit is contained in:
parent
a313cede7f
commit
eb884b36c1
2
57.md
2
57.md
|
@ -28,7 +28,7 @@ Having lightning receipts on nostr allows clients to display lightning payments
|
||||||
|
|
||||||
A `zap request` is an event of kind `9734` that is _not_ published to relays, but is instead sent to a recipient's lnurl pay `callback` url. This event's `content` MAY be an optional message to send along with the payment. The event MUST include the following tags:
|
A `zap request` is an event of kind `9734` that is _not_ published to relays, but is instead sent to a recipient's lnurl pay `callback` url. This event's `content` MAY be an optional message to send along with the payment. The event MUST include the following tags:
|
||||||
|
|
||||||
- `relays` is a list of relays the recipient's wallet should publish its `zap receipt` to. The list SHOULD include the recipient's READ relays from [NIP-65](65.md), the sender's READ relays and the post author's READ relays (e.g receiver and author are different when paying zap splits)
|
- `relays` is a list of relays the recipient's wallet should publish its `zap receipt` to. The list SHOULD include the recipients' READ relays from [NIP-65](65.md), the sender's READ relays, and the post author's READ relays (e.g receivers and author may be different when paying zap splits)
|
||||||
- `amount` is the amount in _millisats_ the sender intends to pay, formatted as a string. This is recommended, but optional.
|
- `amount` is the amount in _millisats_ the sender intends to pay, formatted as a string. This is recommended, but optional.
|
||||||
- `lnurl` is the lnurl pay url of the recipient, encoded using bech32 with the prefix `lnurl`. This is recommended, but optional.
|
- `lnurl` is the lnurl pay url of the recipient, encoded using bech32 with the prefix `lnurl`. This is recommended, but optional.
|
||||||
- `p` is the hex-encoded pubkey of the recipient.
|
- `p` is the hex-encoded pubkey of the recipient.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user