docs.rs failed to build lnd-rust-0.3.2
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
lnd-rust
The lnd-rust is the rust binding to the Lightning Network Daemon.
Requirements
Go and lnd are required to generate the additional code and build the package.
Updating
The file protos/rpc.proto
should be synced with https://github.com/lightningnetwork/lnd/blob/master/lnrpc/rpc.proto
.
Tested with the Lightning Network Daemon version "0.4.2".
Usage
First, add the following to Cargo.toml
:
[]
= "0.1"
= "0.5.0"
Next, create lightning client object:
let lightning_client = ;
Now, it is possible to make requests:
let request = new;
let options = new;
let response = lightning_client.get_info;
See src/bin/main.rs
for details.