I thought you were missing Darth's "tips of the day", so I came up with a question I had from one of my readers few days ago:
"How can I run LNbits quickly, with minimum effort and resources?"
We all know that the powerful LNbits require a LN node as funding source. And many new users are struggling to setup a node for that, or using bundle nodes, with outdated software, complicated dockers etc, things that for a noob are quite hard to debug and maintain.
So I came up with a more simple approach:
A LN node with neutrino synced blocks.
Why?
- it does NOT require to run a heavy full Bitcoin Core node
- it does not need a big hard drive
- it sync in aprox 5 min
- it is not using heavily the CPU and memory
- is private syncing (neutrino server node doesn't need to read your wallet xpub, it just provide blocks)
Steps to do:
In this scenario, we want to run a LNbits with a LND node as funding source, for a small shop merchant or as a LN bank fro your family / friends.
This process take more or less 30 min.
- On any PC with a Linux OS (I recommend Debian or Ubuntu for simplicity), install LND as LN node.
- Optional for managing your node you can install Thunderhub or RTL as desktop apps. If not, you can easily connect Zeus mobile app to your node and manage it from there.
- Open 2-3 channels with big good nodes.
- Install LNbits latest version, as a standalone app (no need for complicated docker etc)
- Connect your LNbits with the LND node
- Edit your domain DNS entries for your new LNbits server and also open the ports 80/443 required for the SSL certificate and access in your router, pointing to the LNbits machine.
- Setup Caddy for reverse proxy DNS https of your LNbits (see LNbits documentation, is very easy)
- Done. Start your LNbits instance and setup your users.
Documentation:
- Set Neutrino for your LND node
- LNbits documentation
- Using Caddy as reverse proxy for LNbits
- Managing LN node liquidity
- Getting started with LNbits
- Private banks over LN
- LNbits for small merchants
- How to use LNbits with streamer copilot
- Getting started with LNbits NOSTR market
- The Bank of Lnbits
- Using LNbits to provide Ecash Cashu mints
- Zeus Mobile Documentation
- Thunderhub Documentation
In closing, I would encourage all public node runners to ACTIVATE NEUTRINO on their Bitcoin Core nodes. It takes just 2 lines:
blockfilterindex=1 peerblockfilters=1
In this way you could participate and really help decentralize the network, helping the mobile node users (See Blixt, Zeus, Breez, Nayuta etc) that are using Neutrino. Or just offer these neutrino connections to your close friends and family to use it. Be a real "uncle Jim" for those that cannot run a full Bitcoin Core node.
I hope more users will understand the significance of this mini-guide...
May the Bitcoin Be With You!