1. Why do you need to rebalance a private channel? You are not doing any routing with that one so rebalancing is kind of meaningless.
  2. By "rebalancing" a private channel you mean, getting some inbound liquidity to be able to receive more sats ? In that case, you have 3 options:
  • sending to yourself (activate circular rebalancing in conf). Send out by selecting a channel with more liquidity on your side, and receive into another one with less sats on your side. You will have to include some route hints, because you are using private channels.
  • using external swaps like: Boltz, DiamondHands, etc... see more here: #163372
  • send temporarily to a non-KYC custodial account like: Blink, CoinOS, Walletano, Alby, SN, WoS, Lifpay etc. Then when you need more liquidity into your node, just send them back.
Cool, many thanks! I like the simplicity of option 3 and a learning opportunity in option 1
  • ;allow-circular-route=true already on my lnd.conf but not sure how to go from there... any specific command should I run on the cli? Any reference will help
reply
Sending to yourself can be done using Zeus wallet connected to your node, that could bring up the route hints easily.
Through the lncli not sure if is already implemented, but in rps is already, see here https://api.lightning.community/api/lnd/router/send-payment-v2/index.html#lnrpcroutehint
reply
I've it connected with Zeus but I do not see the way to send to myself, can you be more specific?
It is also more accurate to say that I'd like to loop out some liquidity from LN to onchain
reply
loop out is not rebalancing channels. Rebalancing means you want to take some funds from one channel and move them into another. It means you remain with the same amount of total liquidity. Loop out (swap out) means you move out funds from a channel into an onchain address. It means you will diminish your total liquidity.
I do not see the way to send to myself
Simply make an invoice from your Zeus and pay it also with your Zeus, but when is about to pay, in the advanced payment screen, you select the channel you want to use as outgoing.
reply
Thankas for highlighting the difference. As you said, I definitely looking to swap out. I'm currently testing now:
  • Coinos does not allow me to receive more that 100k via LN, probably due to the low connectivity on the few channels. So I'll need to do it multiple times before swapping out a nice amount back to on-chain
  • Terminal.Lightning has been super easy to set up, have few swap out initiated, one just got confirmed, too easy
Anything else you think I should play with? It will be nice to have some details about the Zeus option you mention, now that I've some inbound I can test it
reply
For simple swaping out, I usually use multiple (temporary) LN wallets, non-KYC custodials: Blink, Alby, CoinOS, Walletano, Lifpay, WoS etc.
Not all the time I want to move into an onchain address the funds I already have in LN channels. Sometimes I need them back, so swaping IN from onchain sometimes can be more expensive or more bothering. Using these custodial temporary wallets, some of them also have integrated swaps, is much easier and faster and cheaper.
Mastering LN wallets is like an art 😂😂😂
reply
Your strategy of having multiple custodial wallets is definitely interesting, not really matching my minimalistic approach, but I understand now the why 😅
I definitely need to open more private channels
reply
There are quite some approaches, depending what do you want to achieve and use cases.
Here in this guide, I explained some simple scenarios how I use Zeus embedded node.
In another guide I explained a bit that image with the kid trying to climb that wallets ladder: https://darth-coin.github.io/beginner/getting-started-stack-sats-en.html