0.2.4 • Published 7 years ago
nodejs-lnd-grpc-client v0.2.4
Description
This package is a grpc client for lnd v0.2.1-alpha. It is generated code from rpc.proto.
Usage
To use rpc calls you can use methods in exported client object.
const LND_URL = '127.0.0.1:10009'; /* some lnd ip address with port */
var client = require('nodejs-lnd-grpc-client').create(LND_URL);
client.getInfo({}, function(err, info) {
if (!err)
console.log(info);
else
console.log(err);
});