How to manually rebalance Lightning Network channels?

3

I'm running an LND node that has a few dozen channels open to various relevant vendors/routing nodes. There are a couple specific channels that are open with stores that are getting used with most of the balance being on the remote side. I'm unsure how to manually rebalance these specific channels without closing them.

Is it possible to manually rebalance the channels from within my own LND node using the command line or some other way?

Chaz

Posted 2019-07-03T03:04:06.703

Reputation: 33

related: https://bitcoin.stackexchange.com/q/87297/5406

Murch 2019-07-03T05:22:33.700

@murch I tried my best to find a related question but I failed. Thanks!

It's a bit disappointing that there's not a lot of responses. – Chaz 2019-07-03T05:44:27.383

Answers

3

Lnd itself does as far as I remember not provide an api for rebalancing channels.

However there is the lndmanage repository that uses the lnd api to provide a pretty strong rebalancing tool

https://github.com/bitromortac/lndmanage

Such rebalancing will cost you routing fees as they are regular (circular) payments.

That being said it is not clear why you would want to rebalance your channels before an onion on them actually fails. There is currently the discussion about JIT routing (which rebalance just in time if a channel such should be used can't be used) and fee free rebalancing taking place on the lightning-dev Mailinglist.

Rene Pickhardt

Posted 2019-07-03T03:04:06.703

Reputation: 6 565

Thanks for your response Rene. It doesn't appear I'm sophisticated enough to run this tool in the short run or really make real use out of the theoretical things you're talking on the Lightning-dev mailinglist. I'm just curious if there was anything that I could do as a relative newbie to be able to continue to make fees from these specific channels.Chaz 2019-08-08T03:44:20.027