pull down to refresh
0 sats \ 8 replies \ @ek 5 Sep \ on: NWC & Twitter (X) integration - A theoretical proposal bitdevs
where is the invoice coming from?
The invoice is generated dynamically using the Nostr Wallet's API. When a like is detected, my script creates a new invoice with the recipient's Nostr public key and the amount (21 satoshis) using the nostr-client library. This invoice is then used to create a new Nostr event, which is sent to the Nostr network, triggering the payment.
reply
reply
Yes, I did use AI assistance to generate the script and comment. However, my goal was to demonstrate the concept and idea, not to pretend I wrote the code from scratch.
I'm exploring the possibilities of combining Twitter automation, Nostr, and payments in LNbtc. I wanted to spark a discussion and get feedback from experts like you.
If you're willing, I'd love to collaborate and create a real-world implementation together. I believe something like this is possible