Global Feed Post Login
Replying to Avatar utxo the webmaster 🧑‍💻

If I want to implement zaps on my lightning service I basically need to broadcast an event when I detect a successful lightning payment?

Anyone have a Js/ts/python example by any chance?

Avatar
thesimplekid 2y ago

https://github.com/jb55/cln-nostr-zapper

Reply to this note

Please Login to reply.

Discussion

Avatar
Don't Believe The Vibe 🌱🍋🍊 2y ago

Is there something in Golang, too? 👀

Avatar
thesimplekid 2y ago

Think ln tip bot does it and that's in go.

https://github.com/LightningTipBot/LightningTipBot/tree/main/internal/lnurl

I've been working on a rust one. Few more issues to track down though

https://github.com/thesimplekid/cln-zapper-rs

Thread collapsed
Thread collapsed