{"repo":"accumulator/charge-lnd","free":true,"listed":false,"github":"https://github.com/accumulator/charge-lnd","clone":"git clone https://github.com/accumulator/charge-lnd.git","description":"charge-lnd is a simple policy based fee manager for LND. With this tool you can set fees to autobalance, recover channel open costs, use on-chain fees as reference, use channel activity to determine fees or just use static fees.","language":"Python","stars":240,"topics":["bitcoin","lightning-network"],"license":"GPL-2.0","category":"blockchain-web3","readme_excerpt":"charge-lnd This script matches your open Lightning channels against a number of customizable criteria and applies channel fees based on the matching policy. Installation See INSTALL.md Usage charge-lnd takes only a minimal set of parameters: All policies are defined using an INI style config file. Each [policy-name] defined in the config file describes a policy. A single policy consists of; - a set of criteria to match against the channel and/or node (e.g. minimum channel capacity) - a fee strategy (how to calculate the new channel fees) The defined criteria are compared against the open channels and their associated nodes. The fee strategy then executed to determine what the new channel fees should be. There is a special [default] section, that will be used if none of the policies match a channel. The [default] section only contains a strategy, not any matching criteria. All policies are evaluated top to bottom. The first matching policy is applied (except for the default policy). A simple example: This policy matches the channels against the chan.min capacity criterium. Only channels with at least 500000 sats total capacity will match. If a channel matches this policy, the static strategy is then used, which takes the base fee msat and fee ppm properties defined in the policy and applies them to the channel. If at least lnd 0.18 is used, charge-lnd also supports the experimental support of inbound fees. By default, lnd only supports negative inbound fees on the inbound chan","default_branch":null,"files":null,"tree":[],"storefront":"/r/accumulator","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/accumulator/charge-lnd/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}