A rust rewrite of clnrest
Replace /usr/local/libexec/c-lightning/plugins/clnrest/clnrest
on CLN 24.05+ or clnrest.py
on CLN <24.05 with the binary from this repo.
Release binaries for
- x86_64-linux
- armv7-linux (Raspberry Pi 32bit)
- aarch64-linux (Raspberry Pi 64bit)
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
.
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
folder run:
cargo build --release
After that the binary will be here: target/release/clnrest
Note: Release binaries are built using cross
and the optimized
profile.
Thank you to the original author of clnrest Shahana