A gRPC client for the Lightning Network Daemon (LND), generated automatically from their lnrpc/rpc.proto file
Switch branches/tags
Nothing to show
Clone or download
Michiel de Jong
Michiel de Jong Typo in url
Latest commit 831aa39 Feb 24, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
google/api lnrpc client Feb 24, 2017
.gitignore lnrpc client Feb 24, 2017
README.md Typo in url Feb 24, 2017
package.json Typo in url Feb 24, 2017
rpc_grpc_pb.js lnrpc client Feb 24, 2017
rpc_pb.js lnrpc client Feb 24, 2017
test.js Fix npm test command Feb 24, 2017

README.md

No code was written in the making this npm package. It was generated automatically from the lnrpc/rpc.proto file in https://github.com/lightningnetwork/lnd, using gRPC tools.

By running npm test you can see that this package exposes the entire API of LND v0.1.1-alpha.

To regenerate it, run:

git clone https://github.com/michielbdejong/lnrpc-client
git clone https://github.com/googleapis/googleapis
cd lnrpc-client
rm -r google/api
cp -r ../../googleapis/google/api google/ # because the `.js` files will be generated next to the `.proto` files
rm rpc.proto
wget https://raw.githubusercontent.com/lightningnetwork/lnd/v0.1.1-alpha/lnrpc/rpc.proto # use wget instead of git clone as long as this is just one file
npm install
npm install -g grpc-tools
grpc_tools_node_protoc --js_out=import_style=commonjs,binary:../npm --grpc_out=../npm --plugin=protoc-gen-grpc=`which grpc_tools_node_protoc_plugin` rpc.proto
npm test