$ bos fees --help
USAGEbos feesList out fee rates, fix problems with routing policies, set out feesWhen setting fee, if channels pending, will wait for confirm to setSet-fee-rate can use formulas: https://formulajs.info/functions/You can use INBOUND_FEE_RATE to mirror an inbound feeSpecify PERCENT(0.00) to set the fee as a fraction of routed amountSpecify BIPS() to set the fee as parts per thousandYou can use INBOUND and OUTBOUND in formulas for IF formulasOPTIONS--node <node_name> Node to find record on optional--set-fee-rate <rate> Forward fee in parts per million optional--to <peer> Peer public key or alias to set fees optional
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.
An article with useful formulas: http://satbase.org/routing-fees/