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'; /* 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);
});

Readme

Keywords

none

Package Sidebar

Install

npm i nodejs-lnd-grpc-client

Weekly Downloads

2

Version

0.2.4

License

none

Last publish

Collaborators

  • boodyvo