LND Circular Rebalancing - Fix No Route and Fee Errors

LND Circular Rebalancing - Fix No Route and Fee Errors


What Is LND Circular Rebalancing?

Circular rebalancing moves funds through a circular route (A→B→C→A) to shift liquidity from outbound-heavy channels to inbound-heavy ones, without closing channels.

Common Errors

  • no route found for circular rebalance
  • insufficient local balance to rebalance
  • rebalance failed: TEMPORARY_CHANNEL_FAILURE
  • fee too high: rebalance not economical

Manual Circular Rebalance via lncli

# Pay yourself via a circular route
# First get your node pubkey
lncli getinfo | grep identity_pubkey

# Create a self-payment invoice
lncli addinvoice --amt 100000

# Pay it specifying the outbound channel
lncli payinvoice --fee_limit_sat 500 \
  --outgoing_chan_id <chan_id_to_drain> \
  <payment_request>

Using Balance of Satoshis (bos)

# Install bos
npm install -g balanceofsatoshis

# Rebalance: move 500k sats from chan A to chan B
bos rebalance \
  --out <outbound_peer_pubkey> \
  --in <inbound_peer_pubkey> \
  --amount 500000 \
  --max-fee-rate 500

Automate with LNDg or Charge-LND

# LNDg: web UI with auto-rebalance
git clone https://github.com/cryptosharks131/lndg

# Charge-LND: fee-based rebalancing policy
pip install charge-lnd
charge-lnd --config charge.config

Need help setting up automated rebalancing? DM on Nostr.

Report Page