I am working on notifications for nostr:npub19hg5pj5qmd3teumh6ld7drfz49d65sw3n3d5jud8sgz27avkq5dqm7yv9p (NIP-47) as an alternative to polling. Calling for feedback from all NWC wallets and clients!

https://github.com/nostr-protocol/nips/pull/1164

Reply to this note

Please Login to reply.

Discussion

Yes! Anything is better than request/response. I just don't know if a generic notification kind won't overwhelm clients in time. It would be nice to filter for what kinds of notifications the client would like to subscribe to.

Yeah, it could be a problem if the user is making or receiving a LOT of payments, in reality I’m not sure this will be an issue. If the kind is not encrypted it’s a bit less private and less consistent with the current NIP-47 spec (although more nostr-like).

Maybe it’s possible to go this way for now and make dedicated event kinds in the future if it does become problematic?

Thanks for your thoughts! I’m happy with both options.