No description or website provided.
Protocol Buffer Shell JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
index.js
lnrpc.proto
package.json
update-proto.sh

README.md

lnrpc

Tiny wrapper around the gRPC library for the lnd RPC API.

Install

grpc is configured as a peerDependency and must be installed alongside this library:

npm install --save grpc lnrpc

Use

const lnrpc = require('lnrpc')
    , grpc = require('grpc')
    , client = new lnrpc.Lightning('localhost:10009', grpc.credentials.createInsecure())

client.getInfo(new lnrpc.GetInfoRequest(), (err, info) => ...)

License

https://github.com/Colu-platform/colu-nodejs/blob/master/LICENSE