Tutorials

Writing a plugin in Python

Check out a step-by-step recipe for building a simple helloworld.py example plugin based on pyln-client.

You can also follow along the video below where Blockstream Engineer Rusty Russell walks you all the way from getting started with Core Lightning to building a plugin in Python.

Finally, lightningd's own internal tests can be a useful (and most reliable) resource.

Writing a plugin in Rust

cln-plugin is a library that facilitates the creation of plugins in Rust, with async/await support, for low-footprint plugins.

Community built plugins

Check out this repository that has a collection of actively maintained plugins as well as plugin libraries (in your favourite language) built by the community.


Core Lightning is Blockstream's open-source implementation of the Lightning Network optimised for performance. It is highly customizable through modular expandability.

© 2023 Core Lightning
All rights reserved.

X Twitter Logo Streamline Icon: https://streamlinehq.com

X

The official Core Lightning X(Twitter) handle to follow project updates and announcements.

Github Logo 2 Streamline Icon: https://streamlinehq.com

Github

Github repository for source code, issues, and contributions. Visit our project here to explore or contibute.

Telegram

Community-driven telegram group where most of the node operators hang out. Go to https://t.me/lightningd to join.

Discord

Community-driven discord server where the devs flock together. Go to https://discord.gg/V6ay9yNhBQ to join.