Hey, I am working on a Discord bot and I want to implement lightning invoices.
Now, I haven't worked with the Lightning Network as a developer/merchant before. I only used a lightning wallet (Phoenix and Muun) before to pay for some stuff but nothing from a "developer perspective".
I am only looking for a way to generate an invoice and determine if the invoice was paid before continuing with a request.
I am fine with custodial solutions for the beginning. I really want to get this going as easy and soon as possible.
I looked into Electrum since it's based on Python and I am also using Python for my bot and it supports Lightning (experimental).
Since I use Phoenix, I will recommend Phoenix to my first users. Therefore, I think opening a channel to ACINQ would be the right way to make this work?
Can someone tell me if I am on the right way or will this not work for (obvious) reasons?
I only want to receive funds, no outgoing payments.
check https://lnbits.com/ written with python and very easy to use
I'll read through this now: https://bitcointalk.org/index.php?topic=5259973.0
It mentions:
I don't think this is a problem for my case? I don't need to route payments as far as I understand.
Okay, I read it now but I think opening a channel to ACINQ will only mean I can send payments. But I won't have any inbound liquidity which is what I want.
Also, I will have to keep my Electrum instance online to receive payments. Not ideal since I am running it on my regular laptop at the moment. I guess I will have to run it somehow on my other laptop which is always online (bitcoin full node).
Mhh. Will go to sleep now. Just read about Lightning Pool. But then I have to run a lightning node since it seems to need
lnd:-- https://github.com/lightninglabs/pool
Maybe there is no other way?
check out lntxbot by @fiatjaf https://nitter.it/lntxbot