Skip to content

daywalker90/clnrest-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

latest release on CLN v24.05 latest release on CLN v24.02.2 latest release on CLN v23.11.2

main on CLN v24.05 main on CLN v24.02.2 main on CLN v23.11.2

clnrest-rs

A rust rewrite of clnrest

Installation

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.

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 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.

Thanks

Thank you to the original author of clnrest Shahana