User:VS
Owner of the 👟BhaagBoseDK🏃 LND Node
- Twitter: @vs_trader
- Telegram: @BhaagBoseDK
- Amboss Profile
Don't Trust, Verify - Signed Message
👟BhaagBoseDK🏃 node @ 03c5528c628681aa17ab9e117aa3ee6f06c750dfb17df758ecabcd68f1567ad8c1@zacadqiqgi43tdv4ztjet2fh22f72ol2tokotp5cqdbszgx6tpyqdxad.onion:9735
Sig: rdfe7snxf4y3kd1t6hnm5ahwmdfs8gt9inaht9zy1m7cpn93rm3fhc9hjg6gwce9z7o4met781u7pbneid3a3jfzhqnd7aga63zirrii
Pubkey: 03c5528c628681aa17ab9e117aa3ee6f06c750dfb17df758ecabcd68f1567ad8c1
My Charge-LND Configuration
The following is provided without warranty as an example and for guidelines for structure purposes only. I do change it regularly on my node.
Charge-LND applies policies from top to bottom, default is applied when no other policy matches. The first match is applied. Therefore it is important to structure the flow correctly because a channel can match with multiple policies.
Replace XXX with suitable values applicable to you. Other values are given for guidance purposes only. Adopt according to your needs.
Finally, I run it every 4 hours via cron. This is the entry I use for my cron. You would need to adjust the paths as per your node.
13 */4 * * * date >> /home/umbrel/utils/logs/cron3.log; /home/umbrel/.local/bin/charge-lnd --lnddir /home/umbrel/umbrel/lnd -c /home/umbrel/charge-lnd/bbdk.config >> /home/umbrel/utils/logs/cron3.log 2>&1
[default] # 'default' is special, it is used if no other policy matches a channel chan.min_ratio = 0 chan.max_ratio = 1 strategy = proportional # 'proportional' can also be used to auto balance (lower fee rate when low remote balance & higher rate when higher remote balance) # fee_ppm decreases linearly with the channel balance ratio (min_fee_ppm when ratio is 1, max_fee_ppm when ratio is 0) min_fee_ppm = XXX max_fee_ppm = XXX base_fee_msat = 0 [0-mydefaults] # no strategy, so this only sets some defaults min_fee_ppm_delta = 10 time_lock_delta = 20 min_htlc_msat = 1_000 max_htlc_msat_ratio = 1 [0.5 Multiple Channels] #Special policy to handle multiple channels with same peer to avoid incorrect fees setup. Add nodes pub key separated by comma where you have multiple channels. node.id = XXXXXXX strategy = static fee_ppm = XXX base_fee_msat = 0 [1-stop_routing] # if <= 10% on local, stop routing # if channel local balance is less than 250_000, stop routing. #9999BaseFee chan.max_ratio = 0.10 chan.max_local_balance = 250_000 strategy = static base_fee_msat = 9999_000 fee_ppm = 1999 max_htlc_msat = 69_420_000 #Reduce HTLC to slow down if getting depleted. [1.5-slowdown_routing] #Apply when channel <=15% local and less than 1M Sat local balance. chan.max_ratio = 0.15 chan.max_local_balance = 1_000_000 strategy = static fee_ppm = 999 base_fee_msat = 69_420 max_htlc_msat = 216_942_021 [2-known-one-way-drains] #LOOP node.id = 021c97a90a411ff2b10dc2a8e32de2f29d2fa49d41bfbb52bd416e460db0747d0d chan.min_ratio = 0 chan.max_ratio = 1 min_fee_ppm_delta = 100 min_htlc_msat = 2_169_420 strategy = proportional min_fee_ppm = XXX max_fee_ppm = XXX base_fee_msat = 0 [3-promote_drains] #For specific nodes where lower fee is required. node.id = XXXXXXXX chan.min_ratio = 0 chan.max_ratio = 1 strategy = proportional min_fee_ppm = XXX max_fee_ppm = XXX base_fee_msat = XXX [4-match_specific_peer] #Match specific peers if > 50% liquidity is local eg to promote zero fee routing etc. #zero_fee_routing #ln_tip_bot #@satoshi_ln_bot node.id = 03f3297397c8f5f685a562847611e20d15f56d6aaabc4d808a6e04e631dea6e612, 036ff83834666d3ebfe61c2a7d1f8fc5d6b339a26559a61819e2b0d1b5f540fdfc, 03f9766594831b459b238887c3a95077bed654776ef8a30ffa9fd8b17c619a038e chan.min_ratio = 0.50 chan.max_ratio = 1 strategy = match_peer base_fee_msat = XXX [4.5-promote_low_fee_drain] #Low fee for peers who generally maintaining low fee chan.max_fee_ppm = 216 chan.max_base_fee_msat = 2_000 chan.min_ratio = 0 chan.max_ratio = 1 strategy = proportional min_fee_ppm = XXX max_fee_ppm = XXX base_fee_msat = XXX [5-leafnode] # charge non-routing (private=true) peers a bit more for our service chan.private = true strategy = static fee_ppm = XXX base_fee_msat = XXX [7-beginner-node] # Help new plebs get routes. Set lower fees on channels with smaller peers, that have few channels. # and limited node size (max_capacity=50_000_000) node.max_capacity = 50_000_000 node.max_channels = 25 #Apply when Channel is >=60% local. chan.min_ratio = 0.6 chan.max_ratio = 1 strategy = proportional base_fee_msat = 69_420 min_fee_ppm = 21 max_fee_ppm = 69 [10-expensive] # match channels where the peer node has set a high (>=3_000 ppm) fee rate # and set the same fee rate on our side (strategy=match_peer) chan.min_fee_ppm = 3_000 #Apply when channel is <=40% or local. chan.min_ratio = 0 chan.max_ratio = 0.4 strategy = match_peer base_fee_msat = 0