pull down to refresh
20 sats \ 1 reply \ @joelklabo 26 Jan 2023 \ on: Easiest way to talk to a lightning node from a JavaScript frontend bitcoin
I would say setup LNBits and interact with that API. It can be used with any lightning node pretty much so your front end can be used for multiple projects.
There are lots of plugins for different things that all have APIs by default. You could also make a new plugin if you need something that isn’t available.
I don’t know if any guides for this but that’s my best suggestion. About to start working on this myself and it’s the best solution I could think of.
Awesome! Yeah I did an example project recently with a nextJS app talking to LNBits deployed with voltage. The setup is really easy but the LNBits API can be pretty hard to navigate especially with extensions added on (maybe I'm just a noob though)
reply