0 sats \ 3 replies \ @EverythingSatsoshi OP 5 Sep \ parent \ on: NWC & Twitter (X) integration - A theoretical proposal bitdevs
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
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