upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/57.md
diff options
context:
space:
mode:
authorfiatjaf <fiatjaf@gmail.com>2023-03-23 17:12:29 -0300
committerfiatjaf <fiatjaf@gmail.com>2023-03-23 17:12:29 -0300
commit23cec80e31f6b41df14f51533de6292d6cb8c9b0 (patch)
tree12c1c2136cfb7b99d458a87c67deb429836ec038 /57.md
parent56f84f79bd720912d08f5a7172011f7bf647b253 (diff)
mention that the zap pubkey must be hex.
Diffstat (limited to '57.md')
-rw-r--r--57.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/57.md b/57.md
index bbeb629..79f167c 100644
--- a/57.md
+++ b/57.md
@@ -26,7 +26,7 @@ Having lightning receipts on nostr allows clients to display lightning payments
26 26
271. Calculate the lnurl pay request url for a user from the lud06 or lud16 field on their profile 271. Calculate the lnurl pay request url for a user from the lud06 or lud16 field on their profile
28 28
292. Fetch the lnurl pay request static endpoint (`https://host.com/.well-known/lnurlp/user`) and gather the `allowsNostr` and `nostrPubkey` fields. If `allowsNostr` exists and it is `true`, and if `nostrPubkey` exists and is a valid BIP 340 public key, associate this information with the user. The `nostrPubkey` is the `zapper`'s pubkey, and it is used to authorize zaps sent to that user. 292. Fetch the lnurl pay request static endpoint (`https://host.com/.well-known/lnurlp/user`) and gather the `allowsNostr` and `nostrPubkey` fields. If `allowsNostr` exists and it is `true`, and if `nostrPubkey` exists and is a valid BIP 340 public key in hex, associate this information with the user. The `nostrPubkey` is the `zapper`'s pubkey, and it is used to authorize zaps sent to that user.
30 30
313. Clients may choose to display a lightning zap button on each post or on the users profile, if the user's lnurl pay request endpoint supports nostr, the client SHOULD generate a `zap invoice` instead of a normal lnurl invoice. 313. Clients may choose to display a lightning zap button on each post or on the users profile, if the user's lnurl pay request endpoint supports nostr, the client SHOULD generate a `zap invoice` instead of a normal lnurl invoice.
32 32