No description
Find a file
Christian Decker 8b24e19bbb probe: Add probe-stats method to show some general statistics
Signed-off-by: Christian Decker <decker.christian@gmail.com>
2019-09-02 22:58:48 +02:00
autopilot Specify startup-only plugins to be non-dynamic 2019-08-13 13:56:22 +02:00
autoreload Specify startup-only plugins to be non-dynamic 2019-08-13 13:56:22 +02:00
csvexportpays@e83c6227f3 csvexportpays: Added submodule to export payments as a CSV 2019-07-18 19:21:51 +02:00
donations donations: Fixed up the README a bit 2019-03-28 16:07:51 +01:00
graphql@100978bc99 new change to graphql 2019-05-10 17:06:45 +02:00
helpme fix: making sum() of funds iteration did not work on non-numeric 2019-09-02 22:55:42 +02:00
jwt-factory@cf90ba3495 updated graphql submodule. Added new jwt-factory submodule 2019-05-10 17:06:45 +02:00
lightning-qt@6aaeed7419 Added lightning-qt as a submodule (#28) 2019-05-16 20:28:25 +02:00
monitor Add a 'requirements.txt' to probe plugin 2019-08-13 13:56:49 +02:00
persistent-channels Add a 'requirements.txt' to probe plugin 2019-08-13 13:56:49 +02:00
probe probe: Add probe-stats method to show some general statistics 2019-09-02 22:58:48 +02:00
prometheus add lightningd blockheight metric 2019-05-13 21:21:36 +02:00
rebalance rebalance: round HTLC fees up 2019-08-29 14:13:57 +02:00
sendinvoiceless sendinvoiceless: round HTLC fees up 2019-09-02 22:58:01 +02:00
sitzprobe@84347d5519 sitzprobe: Add sitzprobe by @niftynei as a submodule 2019-04-01 18:35:39 +02:00
summary helpme: new plugin. 2019-07-26 15:29:59 +02:00
.gitignore pytest: Preparing to run integration tests using pytest 2019-03-30 00:03:16 +01:00
.gitmodules csvexportpays: Added submodule to export payments as a CSV 2019-07-18 19:21:51 +02:00
conftest.py pytest: Preparing to run integration tests using pytest 2019-03-30 00:03:16 +01:00
LICENSE Initial commit 2019-01-17 13:16:45 +01:00
pytest.ini pytest: Preparing to run integration tests using pytest 2019-03-30 00:03:16 +01:00
README.md Add a link to the reckless plugin manager 2019-08-12 23:46:43 +02:00

Plugins for c-lightning

Community curated plugins for c-lightning.

Available plugins

Name Short description
autopilot An autopilot that suggests channels that should be established
autoreload A developer plugin that reloads a plugin under development when it changes
donations A simple donations page to accept donations from the web
graphql Exposes the c-lightning API over graphql
lightning-qt A bitcoin-qt-like GUI for lightningd
monitor helps you analyze the health of your peers and channels
persistent-channels Maintains a number of channels to peers
probe Regularly probes the network for stability
prometheus Lightning node exporter for the prometheus timeseries server
rebalance Keeps your channels balanced
reckless An experimental plugin manager (search/install plugins)
sendinvoiceless Sends some money without an invoice from the receiving node.
sitzprobe A Lightning Network payment rehearsal utility
summary Print a nice summary of the node status

Installation

To install and activate a plugin you need to stop your lightningd and restart it with the plugin argument like this:

lightningd --plugin=/path/to/plugin/directory/plugin_file_name.py

Notes:

  • The plugin_file_name.py must have executable permissions: chmod a+x plugin_file_name.py
  • A plugin can be written in any programming language, as it interacts with lightningd purely using stdin/stdout pipes.

Automatic plugin initialization

Alternatively, especially when you use multiple plugins, you can copy or symlink all plugin directories into your ~/.lightning/plugins directory. The daemon will load each executeable it finds in sub-directories as a plugin. In this case you don't need to manage all the --plugin=... parameters.

Pylightning

All python plugins depend on the pylightning library. It can be given in several ways:

  • Using pip tools: pip3 install pylightning
  • Using the PYTHONPATH environment variable to include your clightning's shipped pylightning library:
PYTHONPATH=/path/to/lightnind/contrib/pylightning lightningd

Additional dependencies

Additionally, some Python plugins come with a requirements.txt which can be used to install the plugin's dependencies using the pip tools:

pip3 install -r requirements.txt

Note: You might need to also specify the --user command line flag depending on your environment.

More Plugins from the Community

Plugin Builder Resources