Home

Awesome

latest release on CLN v24.08.2 latest release on CLN v24.05 latest release on CLN v24.02.2

main on CLN v24.08.2 main on CLN v24.05 main on CLN v24.02.2

clnrest-rs

A rust rewrite of clnrest

Installation

There is two ways you can do this, either edit the config or switch out the plugin file:

CLN v24.05 and later

disable-plugin=clnrest
plugin=/path/to/clnrest-rs

CLN v24.02.2 and older

disable-plugin=clnrest.py
plugin=/path/to/clnrest-rs

Release binaries for

can be found on the release page. If you are unsure about your architecture you can run uname -m.

They require glibc>=2.31, which you can check with ldd --version.

Building

You can build the plugin yourself instead of using the release binaries. First clone the repo:

git clone https://github.com/daywalker90/clnrest-rs.git

Install a recent rust version (rustup is recommended) and in the clnrest-rs folder run:

cargo build --release

After that the binary will be here: target/release/clnrest-rs

Note: Release binaries are built using cross and the optimized profile.

Options

These work the same as with the python implementation:

Required options

Optional options

Thanks

Thank you to the original author of clnrest Shahana