pull down to refresh
130 sats \ 1 reply \ @gd 4 Oct 2022 \ on: Integrating Lightning into the development stack securely [Dev Chat] bitcoin
I feel like I'm making a "Senior Engineer meme" out of myself by saying "it depends".
Remember that a custodial lightning service is a financial service. You should expect to treat it with the same type of diligence that you would treat building the backend of a bank. In all honesty, I would suggest not doing it unless you are very confident in multi-layered security models and also uptime resiliency (if your server goes down, do people lose access to their money?).
Since you are a capable frontend dev, I'd suggest taking a look at WebLN: https://www.webln.guide/introduction/readme - it will allow you to offload the lightning backend to services listed on https://www.webln.guide/ressources/webln-providers. That way you can facilitate payments without having to touch the backend stuff.
Yeah exactly... it gets complicated fast having to worry about node resiliency and security. Thanks for the WebLN link, I've not come across that before!
reply