pull down to refresh
145 sats \ 2 replies \ @gzuuus_ OP 3 Oct 2022 freebie \ parent \ on: Lightning invoices python bitcoin
Yes, I thought about using my node, but that's a solution for me only, I don't have a node for 'public' use at the moment. My idea is that once I have this script in production I can share the repository and others can use it without depending on having a node.
Can you think of a custodial service that fits? So far the solution I can think of is to integrate it with lightning tip bot or lntxbot in telegram.
The ideal would be an api that I could call inside my script and it would generate the invoice.
Pd thanks for replying, I really appreciate your guidance :)
Ah, in that case I'd just use a lightning address! Whoever uses your script can just put in a new lightning address and begin making money with it; lightning addresses can be thought of as a human readable lnurl-pay code. Lots of custodial wallets support lightning addresses and lots of 3rd parties allow you to use them as a lightning address for non-custodial nodes.
reply
Yes, it seems to me a simple and customizable solution for each user to use the ln addrs they want, the problem is that I have not found a way to decode that lnaddrs to generate an invoice, I found this service https://lightningdecoder.com/, but it does not work properly, at least in its front end and I have not tried to build it myself .... I also discovered https://docs.bitnob.com/reference/decode-a-lightning-address but it is KYC and I don't like that. Then I tried to simply use a url for example: 'lightning:gzoo@stacker.news' but on phones no wallet reacts and just opens the browser, how do you do it here on stacker.news? it works fine.