I've been using LND Hub accounts as ways to segregate1 funds on my node for a while. I also use it for my kids to have small lightning wallets. The main pain point is that TOR is really slow and unreliable. Or maybe there is something else going on.
I believe LNBits uses LND Hub to function but I'm not 100% sure about that. I've installed it before. It may be a better option. Not sure.
What about running an eCash mint?
I would like to be able to use my wallet accounts from anywhere. I'm cool using a VPN tunnel to get back to my node but I'd prefer to avoid Tor.

Footnotes

  1. Segregate may not be the right word. But the wallet software only has access to the funds on the hub account. The node can spend all LND hub accounts funds.
Thanks to @DarthCoin I tried something that worked.
I have been using LND Hub for a while over Tor. It has become unusable. I also used Tailscale for many things. Its a Wireguard VPN that allows you to access your machines from anywhere over a private VPN.
I didn't realize that LND Hub worked over TS. I had tried it before and never got it working. Turns out I was using the wrong port number. This may be different on your node but for me using the port for Bluewallet app worked with Zeus.
So if you want to create segregated accounts on your own nodes for family or just for separating your funds or limiting the ability to spend funds LND Hub is a great option. Darth has some guides on these things, WHICH I HAVE READ Darth. ;)
I still want to try the stuff @k00b has mentioned as well in addition to running an eCash mint.
reply
You can have also a LNBits with a Wireguard VPS. It means you are using the VPS public IP, making a tunnel to your home LNbits. Then you can use your LNbits / lndhub with a nice personal domain over a clearnet IP (VPS) and still keeping private your home IP.
Here is a nice guide by Hakuna (he wrote more guides about these scenarios on his girthub) https://github.com/TrezorHannes/VPS-LNBits-Wireguard
reply
Yeah, that's a very powerful solution.
reply
422 sats \ 1 reply \ @saunter 3 Jul
At Alby we came up with an idea of uncle jim model based on dynamic NWC budgets. We believe it can be a really interesting alternative to LNDHub and ecash mints, but it's in a early phase of exploration, but I think we will ship this feature to our new self-custodial wallet by the end of the year
reply
Sounds great. Self custody is a must for me for this use case.
reply
700 sats \ 6 replies \ @k00b 3 Jul
Having a personal cashu mint seems like a fun, trendy solution.
For Tor, you could use a tunnel. Cloudflare has a free offering.
If you're running LND, you can run Lightning Terminal alongside it (or just run the litd binary with integrated lnd) and it gives you Accounts and also allows you to avoid Tor by using a TURN-like server.
reply
I have used the Cloudflare tunnels for non-bitcoin stuff. Pretty cool tip for anyone at home. :)
reply
Really? I should have asked about this months ago.
I do want to run a personal cashu mint regardless. Feels like a great tool for family.
reply
They haven't been promoting it much but it's pretty cool.
reply
Can the cloudflare tunnel be used to configure lnd in hybrid mode? Or it is more like Tailscale to log in to web ui?
reply
You can configure it to have access rules including a log in. What it really accomplishes is not exposing the IP address of the host machine and dealing with CNAT or dynamic IP.
reply
I haven't used it but I don't see why not (assuming you trust cloudflare).
reply
TOR is really slow and unreliable.
Yes, Tor is not suitable for LN nodes, especially for public ones. Why you do not use Tailscale to access your node? https://darthcoin.substack.com/p/tailscale-to-your-node
I believe LNBits uses LND Hub to function but I'm not 100% sure about that.
So you didn't read my guides about LNbits?
I really think LNbits is the best option for kids accounts. You give them some tokens in reality, but you are still in control of their funds. Kids could make mistakes with real LN wallets. So until they get it better a LNDHUB account is much better.
Now you can runm LNbits with phoenixd, server too
You can do it without LNbits if you just want a LN account on your node. Use directly the option for LN Accounts using Lightning terminal and you do not need to connect over Tor, just LNC: https://docs.lightning.engineering/lightning-network-tools/lightning-terminal/accounts
Alternative to LNbits you can use ShockWallet + LightningPub
reply
Does LND Hub work over tailscale. I never got it working in Zeus. Its been a while but I recall reading that it doesn't work.
reply
Thanks Darth. I'm an idiot. Tailscale does work with LND Hub. I'm not sure what I did wrong when I tried it before. Probably the wrong port.
reply
Tailscale is your private connection to your node / lndhub account. The payment and stuff is done from your node later.
reply
Right. I understand all that. And thank you for explaining. I read you guide and when I tried to use Tailscale I used the wrong port.
If someone else is trying to do this you need to use your TS IP for your node and the Blue wallet port on Umbrel.
reply
Shocknet are building what you are looking for -
Apparently they will be at the Nashville Conf demo-ing stuff - i hope video gets posted as i won't be there -
@justin_shocknet is the guy to ask to know more here on SN
reply
Yep, this exactly the point of lightning.pub (and ShockWallet.app to connect and invite family)
Nostr is much faster and more reliable than Tor, and there's no fragile bearer authentication like ECash mints
It even syncs across devices so the same wallet you use on your phone will work from your browser on your desktop
We're tying up lose ends for distribution, video from Nashville is a good idea but I'll produce something once you can paste a line into a terminal and forget about it
reply
Really looking forward to this!
reply
How much do your kids use their lightning wallets? It might be time for me to introduce my kids to it, but he is still a bit young at 5.
reply
Only to receive from me. They hodl
reply
Haha, maybe we should develop a kids section in stacker news so kids can post. Wouldnt that be interesting?
reply
Hosted channels which is almost ecash.
reply
stackers have outlawed this. turn on wild west mode in your /settings to see outlawed content.