Crate that provides a procedural API to develop cln plugins.
Crate that provides a procedural macros implementation to make easy to develop a plugin developer to build a plugin.
```rust extern crate clightningrpc_plugin;
use clightningrpcplugin::types::LogLevel; use clightningrpcplugin::{commands::RPCCommand, plugin::Plugin}; use serde_json::{json, Value};
struct PluginState(());
/// HelloRPC is used to register the RPC method
struct HelloRPC {}
/// Implementation of the RPC method
impl RPCCommand
struct OnChannelOpened {}
impl RPCCommand
fn main() {
let mut plugin = Plugin::
Read our Hacking guide
If you want support this library consider to donate with the following methods