nostr:npub1m0sxqk5uwvtjhtt4yw3j0v3k6402fd35aq8832gp8kmer78atvkq9vgcru and I will be in Manila on Tuesday? who is up for an Alby drinkup?
Discussion
Hi nostr:npub1xv8mzscll8vvy5rsdw7dcqtd2j268a6yupr6gzqh86f2ulhy9kkqmclk3x, I've created a zap server for nostr zaps. One question for Alby: Why do you put your own hexpub in field nostrPubkey in payRequest? I put the receivers hexpub there... my code: https://github.com/raymonostr/nip57-server Best, raymon
The key there is the key that signs the zap events. In this case this is not the user's key but our key.
if it's self-hosted then it's a user's specific key.
Thanks, I am using a users key in the lnurlp response but a zappers key to sign the 3795 - works also 😃
Actually, I'd say my approach is correct, but the NIP 57 is not clear here in I 1. https://github.com/nostr-protocol/nips/blob/master/57.md#protocol-flow - what means "associate it with the user" nostr:npub180cvv07tjdrrgpa0j7j7tmnyl2yr6yr7l8j4s3evf6u64th6gkwsyjh6w6 😀 #nip57 #zapping #lightning
No, sorry. According to Appendix F, your approach is correct, I'll change my code. Thanks for the discussion 😃