No description
Find a file
2021-06-09 21:57:53 +02:00
.gitignore add .gitignore 2021-06-07 17:24:42 +02:00
channel.py Added --client and --client-args options. Show opener 2021-06-09 13:10:52 +02:00
clnclient.py don't show remote fees by default (use --show-remote-fees) 2021-06-09 18:21:16 +02:00
COPYING init 2021-05-31 17:12:01 +02:00
lndclient.py don't show remote fees by default (use --show-remote-fees) 2021-06-09 18:21:16 +02:00
poetry.lock reformat with black, introduce click 2021-05-31 17:32:32 +02:00
pyproject.toml don't use capture_output to stay compatible with Python 3.6 2021-06-05 18:27:33 +02:00
README.md typos in readme 2021-06-09 21:57:53 +02:00
screenshot.png add screenshot 2021-06-01 00:12:01 +02:00
shell.nix reformat with black, introduce click 2021-05-31 17:32:32 +02:00
suez move code to suez.py, make suez only a wrapper 2021-06-05 16:29:03 +02:00
suez.py rename sigma to spread 2021-06-09 21:39:46 +02:00

Suez

Tool for pretty printing and optimizing Lightning Network channels.

screenshot

Installation

  1. Install poetry
  2. poetry install
  3. poetry run ./suez

Channel fee policy

You can override the channel fee policy by changing the FeePolicy class.

Example implementation does the following:

  • sets lower fees for channels with mostly local balance
  • sets higher fees for channels with mostly remote balance
  • sets medium fees for balanced channels

You control the spread via the fee-spread argument.

Lightning node support

Currently, Suez supports LND and c-lightning.

By default it uses LND (lncli).

You can use it with c-lightning as follows:

poetry run ./suez --client=c-lightning

If you need to pass additional options to the lncli/lightning-cli you can do so:

poetry run ./suez --client=c-lightning --client-args=--conf=/usr/local/etc/lightningd-bitcoin.conf

Adding support requires writing a client similar to lndclient.py and instantiating it in suez.py.

Donate

You can tip me some satoshis via tippin.me/@pavolrusnak

License

This software is licensed under the GNU General Public License v3.