This crate provides a generic interface to the core lightning daemon through RPC.
From the crate clightningrpc you can find this quote
Be aware that the API (of rust-clighting-rpc, but also that of c-lightning itself) is not finalized. This means that it is likely to change between versions and may break your compile, sorry!
This crate solve the versioning with core lightning by offering a strongly type library with a generic interface, an example can be:
extern crate clightningrpc_common;
use ;
use env;
use client;
use Response;
/// Example of type definition
/// Example of type definition
Contributing guidelines
- Four spaces
- Call
make fmtbefore committing - If you can, GPG-sign at least your top commit when filing a PR
Supports
If you want support this library consider to donate with the following methods
- Lightning address: vincenzopalazzo@lntxbot.com
- Github donation
Credits
This library is based on Andrew Poelstra's rust-jsonrpc.