Got self hosted zapple pay and Lightning addresses up and running. GIVE ME SOMETHING TO ZAP ⚡️

Reply to this note

Please Login to reply.

Discussion

Self-hosted zappers Unite!

Your receiver doesn't work, not sure whats wrong.

Was it you who sent me 42 sats?

Yes. It went out but amethyst doesn't show it on the note.

Hmm must be a config issue on Nostdress. Is that what you use? I’m gonna have to have a peek later

Slightly outdated, didn't update to the latest version of the NIP, but afaik still a working implementation.

https://github.com/mutatrum/ligess

That looks sweet… LN addresses and nostr wallet connect in one package! But I’m a smooth brain so prefer pre baked docker images. Nostdress seems to be working but I see a timeout in NIP-57 payments in my logs. Shame, might need to go back to custodial services for inbound zaps.

The timeout suggests some sort of networking error but I’m not sure what ports I’d need to open, and I dunno why invoice creation would work but not broadcasting payment receipt?

Wait hold up a sec … nostr:npub1hklphk7fkfdgmzwclkhshcdqmnvr0wkfdy04j7yjjqa9lhvxuflsa23u2k what privileges do I need to enable on the macaroon? I only have “create invoices” enabled but do I need to have others enabled so that (I’m guessing…) updated invoice status triggers a broadcast of the NIP-57 event?

Just answered my own question. I baked a new macaroon with invoices:create, invoices:read and payments:read and lo, inbound zaps work! The macaroon might be a tad permissive but I’m not too worried about extra read permissions for those things.

Mind zapping this note a small amount to confirm?

Bingo. It works. It needs the read payment to check if it's actually paid. Not sure about read invoice, that might be an implementation detail.