How can you construct a cycle with LND to rebalance one of your channels with another?

3

2

I have at least two open channels, one of which has inbound capacity and the other has outbound capacity. How can I find a route and construct a payment to rebalance my channels against each other just using the LND commandline?

As in, what steps are necessary to stitch two routes together to form a cycle?

Murch

Posted 2019-04-25T23:03:12.160

Reputation: 41 609

Just to make sure: the lnd commandline means any commandline using a chain of lnd commands? Because if it was just about command line you could use lndmanage ( https://github.com/bitromortac/lndmanage ) I would post this as an answer if you are happy with this.

Rene Pickhardt 2019-04-26T04:56:18.543

I've seen multiple third-party tools that would construct these transactions automatically for me, but I don't want to introduce more review/trust. We've succeeded at sending a two-hop by manually editing route information, and I was hoping that there would be a better way to do it without quite as much manual intervention but without third party tools.Murch 2019-04-26T20:13:23.187

No answers