Has anyone gotten the clnrest plugin to work on a #CoreLightning node? Supposed to be built in now but when I try to specify the "clnrest-port" configuration option, lightningd says it doesn't recognize the option?
why use that over commando ?
Want to set up Ride-The-Lightning which requires a rest interface to communicate with the node
Last time I checked you still needed c-lightning-REST to run RTL, it was not clnrest ready.
An undocumented way to test the plugin is to just run the plugin on its own and see if it shows a message ``` $ python src/lightning/plugins/clnrest/clnrest.py ```
It works for me but I had to blow away my whole python environment and start over a couple times before I it worked https://github.com/ElementsProject/lightning/issues/6994
Check the docs here: https://docs.corelightning.org/docs/rest there are a few other config options. Also make sure that the python dependencies are installed.
That’s the page I tried to follow but CLN didn’t recognize the clnrest-port option either in the config file or as arguments to the program
I presume you are on the latest CLN release. Still need to try the configs myself.