Skip to content

Commit

Permalink
lnrpc client
Browse files Browse the repository at this point in the history
  • Loading branch information
Michiel de Jong committed Feb 24, 2017
0 parents commit 0eb965f
Show file tree
Hide file tree
Showing 31 changed files with 27,204 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
@@ -0,0 +1,2 @@
node_modules
*.proto
19 changes: 19 additions & 0 deletions README.md
@@ -0,0 +1,19 @@

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

To regenerate it, run:

```sh
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
```
5 changes: 5 additions & 0 deletions google/api/README.md
@@ -0,0 +1,5 @@
This folder contains the schema of the configuration model for the API services
platform.

**Note**: Protos under this directory are in Alpha status, and therefore are
subject to breaking changes.
40 changes: 40 additions & 0 deletions google/api/annotations_pb.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0eb965f

Please sign in to comment.