diff options
| author | hodlbod <jstaab@protonmail.com> | 2025-09-18 17:09:53 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-18 17:09:53 -0700 |
| commit | abe6fb959c4517c30ac1476e113d8f64eab0a8ff (patch) | |
| tree | 2ffa1097c2ca6ca4cb9592f4f3e2a265a66c7536 | |
| parent | 4b19bf2e40dd9b644279e45d5bdfc3ee2e079e34 (diff) | |
Remove lud06 field (#2065)
Co-authored-by: Jon Staab <shtaab@gmail.com>
| -rw-r--r-- | 57.md | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -12,7 +12,7 @@ Having lightning receipts on nostr allows clients to display lightning payments | |||
| 12 | 12 | ||
| 13 | ## Protocol flow | 13 | ## Protocol flow |
| 14 | 14 | ||
| 15 | 1. Client calculates a recipient's lnurl pay request url from the `zap` tag on the event being zapped (see Appendix G), or by decoding their lud06 or lud16 field on their profile according to the [lnurl specifications](https://github.com/lnurl/luds). The client MUST send a GET request to this url and parse the response. If `allowsNostr` exists and it is `true`, and if `nostrPubkey` exists and is a valid BIP 340 public key in hex, the client should associate this information with the user, along with the response's `callback`, `minSendable`, and `maxSendable` values. | 15 | 1. Client calculates a recipient's lnurl pay request url from the `zap` tag on the event being zapped (see Appendix G), or by decoding their lud16 field on their profile according to the [lnurl specifications](https://github.com/lnurl/luds). The client MUST send a GET request to this url and parse the response. If `allowsNostr` exists and it is `true`, and if `nostrPubkey` exists and is a valid BIP 340 public key in hex, the client should associate this information with the user, along with the response's `callback`, `minSendable`, and `maxSendable` values. |
| 16 | 2. Clients may choose to display a lightning zap button on each post or on a user's profile. If the user's lnurl pay request endpoint supports nostr, the client SHOULD use this NIP to request a `zap receipt` rather than a normal lnurl invoice. | 16 | 2. Clients may choose to display a lightning zap button on each post or on a user's profile. If the user's lnurl pay request endpoint supports nostr, the client SHOULD use this NIP to request a `zap receipt` rather than a normal lnurl invoice. |
| 17 | 3. When a user (the "sender") indicates they want to send a zap to another user (the "recipient"), the client should create a `zap request` event as described in Appendix A of this NIP and sign it. | 17 | 3. When a user (the "sender") indicates they want to send a zap to another user (the "recipient"), the client should create a `zap request` event as described in Appendix A of this NIP and sign it. |
| 18 | 4. Instead of publishing the `zap request`, the `9734` event should instead be sent to the `callback` url received from the lnurl pay endpoint for the recipient using a GET request. See Appendix B for details and an example. | 18 | 4. Instead of publishing the `zap request`, the `9734` event should instead be sent to the `callback` url received from the lnurl pay endpoint for the recipient using a GET request. See Appendix B for details and an example. |