Why not a replaceable event? Would make sense, no?
Discussion
hmm I guess that would be good for realtime balance updates
It would. But what if your balance changes because of a non-zap 🤔 could be tricky to implement on the back-end side
You just send the event whenever a payment is received, is your backend not setup for that ?
Haha that's optimistic of you 😛 yeah it is possible but a bit more work. We have a fairly simple open source backend github.com/getAlby/nostr-wallet-connect so we would need to hook this up to our event queue
There is a privacy issue with this. You could easily probe the relay by sending lightning payments to an account and subscribing to the replaceable events to see which nostr keys are associated with what account.