nostr:npub1raustrrh5gjwt03zdj8syn9vmt2dwsv9t467m8c3gua636uxu89svgdees thanks for the zap! i was trying to understand how this works here. did you send it by clicking anything on my nostr profile or was it from a wallet directly?
Login to reply
Replies (2)
Yeah, I opened your profile in my client and clicked the zap button. The payment itself is from any Lightning wallet, so it's only for the receiving part that you need a zap-compatible wallet/address.
Here's the gist:
1. Someone requests a Lightning invoice via your Lightning address. The requests contains extra Nostr/Zap information: https://gitea.kosmos.org/kosmos/akkounts/src/branch/master/app/controllers/lnurlpay_controller.rb#L133-L160
2. When that invoice is paid, a Zap receipt is published, so people on Nostr can see the zap: https://gitea.kosmos.org/kosmos/akkounts/src/branch/master/app/controllers/webhooks_controller.rb#L10-L19