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
0 sats \ 2 replies \ @ek 5 Sep
my script creates a new invoice with the recipient's Nostr public key
🤨
I think you used AI to write the script and this comment, amirite?
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
reply
0 sats \ 0 replies \ @ek 5 Sep
not to pretend I wrote the code from scratch
you did initially though
reply
0 sats \ 3 replies \ @k00b 5 Sep
Nowhere. It makes a zap event to nowhere.
reply
Does it make sense to you
reply
0 sats \ 0 replies \ @ek 5 Sep
I just send you some sats, let me know if you received them
reply
0 sats \ 0 replies \ @k00b 5 Sep
No because you can't send sats to a tweet.
reply