mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 08:25:53 -05:00
adds the sender as well
This commit is contained in:
parent
b81032f2e9
commit
a313cede7f
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:
|
||||
|
||||
- `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) as well as the post author's READ relays if they differ (e.g 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 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)
|
||||
- `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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user