Just updated my BTCPay server to version 1.9.0 which should have improved Zap support. So far they didn't show up for me, though I noticed several random payments in the BTCPay admin panel. Anyone mind testing with 1 sat?
blog.btcpayserver.org/btcpay-server-1-9-0BTCPay Server 1.9.0 - The year of Plugins continues, Point of Sales touch-ups and much more! | BTCPay Server BlogOfficial BTCPay Server BlogSjors Provoost
sjors@sprovoost.nl
Zapped
Thanks! I'm seeing two settled payments in BTCPay, but nothing under Zaps in either Damus or Amethyst. Maybe I'm missing something...
#[3] / #[4] any idea?
I believe #[5] implemented it, maybe worth tagging him as well
Just realized there was a plugin. A bit annoying that it needs (?) a private key to receive zaps, but I guess that's part of the protocol.
Please try again...
Zapped 10 sats just now
nvm, worked on second try
What changed? Can’t fetch invoice now
Mmm, I'm seeing this in the log:
fail: BTCPayServer.Plugins.NIP05.Zapper: Error zapping to wss://nostr.sethforprivacy.com
That’s weird. Zapped now with a work around
#[2] I think my connection is being rate limited unlike the rest of the crazies
Yeah sorry, protocol design unfortunately :(
Huh? The zapper key can be random
Wtf? I assumed it was supposed to have been signed by the zapper else anyone can just lie about zaps from everyone?
It does, but the zapper key itself can be a random key. Is the concern that #[5] had to use his privkey ? Maybe I misunderstood.
Damus validates that the nostrPubkey matches the zap pubkey, and also validates the deschash
More clients should probably check this not all of them do
That’s really bad. zaps are completely broken without that check.
Not completely, as long as I get the moneyz I don't care who takes credit :-)
Oh wait I see, clients can't tell if a lightning invoice was paid, so you have to trust the recipient to announce truthfully. And so you have to check who signed a zap.
You can always fake zaps to yourself. It's faking zaps to others that this stops. The receiver will know since they never got the sats. But to others it will look like you zaped when you didn't
Ideally you should also be able to prevent someone from impersonating you in a zap to some third party. So a zap should be signed by bother sender and recipient.
(Of course you can still collude with yourself to setup a bunch of sock puppets and pump money in circles to make yourself look popular. Any ranking based on zap amounts could be done client-side by e.g. only including N degrees of separation from people you follow)
Correct
Yeah I did a fake zap to #[9] and could see it on snort
The plugin asked, so I gave it. I'm a simple man.
😂
It should probably just generate a random key… it’s not supposed to be your key
I was under the assumption that the nostrpubkey provided in the lnurlp should match the nip5 or the user being zapped so that the payment request is actually receipted by that same user? Maybe we cna make the nip a bit clearer if that isn't the case.
Did you enable nostr plugin?


