Lets see if there is interest in this from the #selfhosting community on this:

2100 sats: I write a guide on how to set up your own, self-hosted, always-on lightning node and publish it

21000 sats: I write an ansible script to automatically set it up and publish that

Reply to this note

Please Login to reply.

Discussion

Have you considered pointing to prior work on this from Raspibolt, Minibolt or Raspiblitz?

It would be nice to have a user friendly script to run a LN node without a bitcoin node. I think fiatjaf has done one, but I would pay 21000 sats for something like this.

These are amazing, thank you!

I'm still going to do the automation part since there seems to be interest, but I'm totally going to leverage these guides to the max!

I started on this last night. Most of last night's work was infrastructure stuff, so I don't have anytbing to share publicly yet.

I refactored my main terraform module to make my new VMs absolutely gorgious.

Added a DNS entry for a test full node and spun up a test VM to put it on. I have someone else's Ansible role that should set up bitcoin core automatically, but I haven't tried it.

I also didn't realize that it's possible to run a full node without 500+GB of storage! Glad to see there's a more streamlined option now to prune out data without having to trust anyone.

I'm not sure when I'll work on this next. But when I do, I'll probably finish setting up my test VM and then put everything through our code review process so it can get merged into the default branch. I try to make my merge requests small, and this one already scope creeped with the refactor, so I don't wasn't it to get unweildly.

I'm not sure if it'll be a production full node after that or a test lightning node. We'll see what kind of mood I'm in at the time.

nostr:nevent1qqspffzh673gyw0u5wadfvkvvndyx8fr2du24m55vcsqyc7d83pfpggpp4mhxue69uhkummn9ekx7mqzyrfsa2vw5e0f20u34wfldvcw550tx0zsd7raf8mqpgfe4mcq4223zqcyqqqqqqgeky6d3

Just another update on this to keep me honest: I now have a full nodenthat is syncing blocks.

The VM I deployed is in my test network, but everything is automated, so deloying to a production machine should be easy. I've also filed feature requests to the person who wrote (and hopefully maintains) the automation code to deploy a full node.

The full node is just a first step on the way to the fully automated deployment of a lightning node.

Stay tuned. I may be slow, but I won't let you down (even if this has already been more work than I thought Inwas signing up for).

nostr:nevent1qqspffzh673gyw0u5wadfvkvvndyx8fr2du24m55vcsqyc7d83pfpggpzpmhxue69uhkummnw3ezuamfdejsygxnp65cafj7j5ler2un76esafg7kv79qmu86j0kqzsnnthsp254zypsgqqqqqqssulx9d

Today I used a script to install LND. After that, I manually created a wallet with the command line tool, but I spend my time writing #documentation on the manual processes instead of forging ahead. I do not regret this.

I'm not sure if I'll have #lnd listen on the main interface or leave it on the loopback and have nginx proxy requests through. Nginx can deal with TLS cert renewals via certbot/LetsEncrypt extremely easily, so that's appealing.

It looks like LND is only beta quality software and can't handle more than just a simgle wallet. It's still useful, but I thought it was stable and could deal with multiple wallets, so this is a huge disappointment for me.

nostr:nevent1qqspffzh673gyw0u5wadfvkvvndyx8fr2du24m55vcsqyc7d83pfpggpz4mhxue69uhhyetvv9ujumt0wd68ytnsw43qygxnp65cafj7j5ler2un76esafg7kv79qmu86j0kqzsnnthsp254zypsgqqqqqqsy8r7p3

For anyone who wants scripts to set up a full bitcoin node and a lightning node, here they are:

https://github.com/fooock/bitcoind-ansible https://github.com/fooock/lnd-ansible

I plan on submitting some merge requests to enable some extra options, but I can attest thay they work as-is.

nostr:nevent1qqspffzh673gyw0u5wadfvkvvndyx8fr2du24m55vcsqyc7d83pfpggpz3mhxue69uhhyetvv9ujumn0wd68ytnzvupzp5cw4x82vh5487g6hylkkv82284n83gxlp75nasq5yu6auq249g3qvzqqqqqqy758t87