nodejs-lnd-grpc-client
0.2.4 • Public • Published 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';
var client = require('nodejs-lnd-grpc-client').create(LND_URL);
client.getInfo({}, function(err, info) {
if (!err)
console.log(info);
else
console.log(err);
});
Readme
Keywords
nonePackage Sidebar
Install
npm i nodejs-lnd-grpc-client
Weekly Downloads