-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NIP-57 Integration Issue/Feedback #10
Comments
Point 1.) should be done in latest version. The server will generate a key and use that for zaps, unless the user specified their own key, in which cased it will sign with that instead |
Great work! |
And please fix this problem: #14 |
Please don't "bump" separate issues like this. |
I tested the new version recently, and can't seem to get a 9735. Perhaps I'm doing something wrong. I am trying to enter my pubkey but leave the private key blank (or optionally it would be nice to able to set it to a different private key not associated with the pubkey). I checked the logs and I see the the "Zapping 1 to ..." for each relay I submitted (as well as the user send the zap's relays) but the event doesn't seem to be written anywhere. It works as before if I use a public/private key combo. It is quite slow though, sometimes the zapper doesn't start until 1 minute after it detects the payment. Also, I tried adding a comment and that seems to be working as well now as long as the "Allow payee to pass a comment" is enabled in LNURL settings. |
It is slow on purpose to prevent dos issues. It batches and send zaps every 2 minutes or if there are more than 10 pending zaps events to send. |
Did you get this working? I've setup BTCPay server, a lightning address, the Nostr plugin, etc. I can send zaps and they show up. But when I receive zaps, they don't show up in any Nostr client. (the sats are received on my node though!) Following the BTCPayServer logs it does show that it sends the receipts:
But in Nostr clients it doesn't show (I tried primal, snort, nostrudel, coracle). Am I doing something wrong? Is there an easy way to verify the zap receipts are actually valid? btcpayserver 1.13.1 Well, right after I wrote this post I received a random zap that does show up... but when I'm testing with a test account/test wallet zapping my main npub, it doesn't work... I have no idea what's going on now. |
The latest version fixed an issue that Zap receipts were being rejected by relays when the Zap request content (description) contained UTF8 characters (like emojis). From my own testing, it all seems to work again now! |
Thanks again for working on this. Posting what I sent on nostr here about the NIP-57 integration.
Zappr private key should be allowed (optionally) to be different than the zap recipients private key. Ideally delegation could be accepted here too.
If someone tries to pass a comment with the zap, the invoice generation fails.
The text was updated successfully, but these errors were encountered: