What is Nostr?
jb55 / Will
npub1xts…kk5s
2023-05-14 15:20:45

jb55 on Nostr: 5 second delay for zap cancel opportunity -> fetch lightning invoice from users ...

5 second delay for zap cancel opportunity -> fetch lightning invoice from users lightning address -> send invoice to NWC relay for payment -> nwc pay confirmation -> n second delay -> zap appears …

I realize none of this really needs to be shown to the user. When you click the zap button, it just becomes a placeholder that tracks all this progress and state internally, but otherwise shows immediate zap success. Most of the time it will succeed, in the instances it doesn’t the zap just goes away and you can retry if you want, but its not the end of the world. The biggest thing is the instant haptic feedback on zap that will tend to work 99% of the time anyways. I’m not even going to show a different color I don’t think, you can inspect the zaps in the zap list to see if its still pending, but its a detail users rarely need to care about
Author Public Key
npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s