Update 57.md

Co-authored-by: Alex Gleason <alex@alexgleason.me>
This commit is contained in:
Vitor Pamplona 2024-06-11 15:21:35 -04:00 committed by GitHub
parent a313cede7f
commit eb884b36c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

2
57.md
View File

@ -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:
- `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.
- `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.