grpc-slp-graphsearch-node

0.0.1 • Public • Published

SLP Graph Search gRPC Interface for Node.js Clients

Install

npm install grpc-slp-graphsearch-node --save (see web version)

Build from source (from ./bchrpc.proto)

  1. Install Protocol Compiler from: https://github.com/protocolbuffers/protobuf
  2. npm install
  3. npm run build && tsc

Example usage

let grpc = new GraphSearchClient();
let txid = "598c6572b70680710560d2ab40cabfde3156353ec5da217e18a8519843ff4423";
let res;
(async () => { res = await grpc.graphSearchFor(txid))();
res.forEach(i => console.log(res.getTxdataList_asU8());

Change Log

0.0.1

  • Create promise based method for graphSearch(txid);

Readme

Keywords

Package Sidebar

Install

npm i grpc-slp-graphsearch-node

Weekly Downloads

0

Version

0.0.1

License

none

Unpacked Size

24.6 kB

Total Files

12

Last publish

Collaborators

  • jscramer