LND Channel Rebalancing -- Keep Liquidity Flowing
LND Troubleshooting GuideChannel rebalancing moves liquidity from outbound-heavy channels to inbound-heavy channels.
Method 1: bos rebalance
bos rebalance --amount 200000 --in PUBKEY_LOW_OUT --out PUBKEY_HIGH_OUT
Method 2: lndmanage
pip install lndmanage lndmanage rebalance --chan-id CHANNEL_ID
Check Balances First
lncli listchannels | python3 -c "import json,sys; [print(c['remote_pubkey'][:20], c['local_balance'], c['remote_balance']) for c in json.load(sys.stdin)['channels']]"
Rebalancing Cost
You pay routing fees for circular rebalancing. Target channels with over 80% imbalance. Keep cost below expected routing revenue gain.
Common Errors
no route found: try smaller amounts or different pairs
fee too high: use --max-fee-rate flag to cap cost
insufficient funds: local balance already low on source channel