Advanced and automated fee settings
$ bos fees --help
1
USAGE
2
bos fees
3
List out fee rates, fix problems with routing policies, set out fees
4
When setting fee, if channels pending, will wait for confirm to set
5
Set-fee-rate can use formulas: https://formulajs.info/functions/
6
You can use INBOUND_FEE_RATE to mirror an inbound fee
7
Specify PERCENT(0.00) to set the fee as a fraction of routed amount
8
Specify BIPS() to set the fee as parts per thousand
9
You can use INBOUND and OUTBOUND in formulas for IF formulas
10
OPTIONS
11
--node <node_name> Node to find record on optional
12
--set-fee-rate <rate> Forward fee in parts per million optional
13
--to <peer> Peer public key or alias to set fees optional
Copied!
Set channel fees based on policy. This script matches your open channels against a number of customizable criteria and applies a channel policy based on the matching section.
lndfeesmanager is a simple software that aims to balance LN channels using a dynamic fees. When a channel is unbalanced it will update the fees.
If the balance is mostly local, fees will be decresed to incentivate routing. If the balance is mostly remote, fees will be increased to disincentivate routing. If the channel is balanced, a medium fee will be set.

More reading

Last modified 28d ago