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.