pull down to refresh
Mostly it’s because we’d have to keep a machine running 24/7 and deal with the costs that come with it. I also haven’t really put in enough time yet to figure out liquidity management, but I think if it’s a private node, that whole thing gets a lot simpler.
OK understandable.
I suggest this next experiment for you: Go to https://lightning.video/login create and account, upload a video or not, doesn't really matter, then try to link that LNV account into your Shock wallet as additional identity.
It’s asking for an email or an nsec 👎
I don’t have the extension on this PC. A barcode (LNURL) shows up, but I’m not really sure how to use it with ShockWallet (PWA)
Now you have more things to investigate :)
I’m guessing it would work using the QR scan option in ShockWallet, but since I don’t have a camera connected it just throws an error and I can’t do anything else. When you click “scan QR code,” instead of showing an error and closing the popup, it could let you manually enter the LNURL instead. cc/ @justin_shocknet
Yea we deprecated LNURL auth since it has so many problems, its not in the new shockwallet, but we didn't completely rug it from LV since it still had users active and just labeled it legacy
Making a payment to LV creates an account with a generic secret (recovery token) so you don't need to cough up an nsec or have an extension
LV's been back-burnered for quite awhile since Pub was really the missing piece for something like it to work non-custodially. Hoping to refresh it this year.
I couldn’t find a way to log in without the extension or by using the LNURL in ShockWallet (no camera to scan QR code), so I just entered the nsec (it’s a test account, no big deal!)
https://lightning.video/20b5ca38302a3ceca4c31aba16643ce818e5bfaa080059bbd9c9d0603cbc902d
this cost me 400 sats! ahahah
Lightning.Pub has liquidity automation thats sufficient for a personal/private node, management really only becomes a job when you're optimizing for routing
I'd consider running a Lightning.Pub if it has the ability to be switched on and off - i have a private LN node which i run part time, but i'm not aware any way to use Lightning.Pub in the same way - it's the only sticking point, as it has better features than my current setup.
You mean shutting down the system it runs on? Pub just sits over LND and installs systemd services, so it'll start up / shut down with the system.
There's channel closure risk with any offline Lightning node, so I generally recommend that people who don't have the space or a spare laptop kicking around use a cheap VPS.
Yes, i run a Bitcoin node and an LN node on a laptop (Ubuntu OS), which is on maybe 12 hours per day, and i open and close both nodes from terminals - closing the terminal stops the nodes, and i then shut down the laptop. On restarting i fire them both up again using the ./ command - Bitcoin first, and when that's synced, the LN node.
Not sure if you mean i could do something similar - would i have to use a command to close LND before shutting down the laptop, and would i have to also use a command to start it up again when the laptop is restarted ?
There's no need to run things in a terminal, best to run them as systemd units so if the laptop is running then they are running as background processes.
Lightning.Pub's installer actually sets these up for you. Depending how your current node is configured it may need some extra touch though as its really for fresh installs.
If you want, dump this into an LLM and ask for instructions how to set up your current LN node as a systemd unit: https://github.com/shocknet/Lightning.Pub/blob/master/scripts/start_services.sh
Is this your daily driver laptop and that's why its off 12 hours per day? The best lightning node for most people is a spare old laptop that can just sit in a closet or on a bookshelf online 24x7.
It's a spare laptop that i've been using to run a Bitcoin node for some years now - i added the LN node a couple of years ago to see if i could use it with the Bitcoin node and it all just worked (to my surprise) - maybe i've been lucky but i don't have problems with channels - my ACINQ channel is over 2 years old now - i don't route, it's for my use only, but i like to keep it switched off when i'm away from it to prevent interference from those around me where i'm living.
I'll take a look at the link and see if i can get anywhere with it - thx
Cool, you're most of the way there then.
Lightning.Pub doesn't work with ACINQ's node (phoenixd), but you can still add phoenixd to systemd to avoid the terminal jockeying.
(Also add bitcoind to systemd, then set the phoenixd systemd unit to be dependent on bitcoind. That will ensure bitcoind starts first. It's not really important that it's fully sync'd to the tip before phoenixd starts, given that its not getting so far behind it takes forever to catch-up)
Your channels are probably safe-ish since its just to the LSP and your online most of the time, it's when you have many channels to aggressive peers the risk really starts to creep in.
A cheap VPS is adequate, Pub configures LND with neutrino so you only need 20GB of disk and 3GB of RAM.
Hetzner, OVH, Racknerd, Hostinger are a few providers that offer adequate VPS's for a few dollars per month.
OK I understand you just wanted to test this app first and I agree, the boostrap mode is exactly about that.
But what keeps you to not run a Lightning.Pub as backend funding source for Shock wallet ?