New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@dashevo/dapi-grpc

Package Overview
Dependencies
Maintainers
12
Versions
381
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dashevo/dapi-grpc

DAPI GRPC definition file and generated clients

  • 0.9.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
292
increased by7.75%
Maintainers
12
Weekly downloads
 
Created
Source

DAPI GRPC

Build Status NPM version

Decentralized API GRPC definition files and generated clients

Table of Contents

Install

npm install @dashevo/dapi-grpc

Usage

import {
  TransactionsFilterStreamPromiseClient,
  TransactionsWithProofsRequest,
  BloomFilter,
} from '@dashevo/dapi-grpc';

const client = new TransactionsFilterStreamPromiseClient('http://localhost:8080');

const filter = new BloomFilter();

const request = new TransactionsWithProofsRequest();
request.setBloomFilter(filter);

const stream = client.subscribeToTransactionsWithProofs(filter);

stream.on('data', function(response) {
  console.log(response.getData());
});

stream.on('status', function(status) {
  console.log(status.code);
  console.log(status.details);
  console.log(status.metadata);
});

stream.on('end', function(end) {
  // stream end signal
});

Maintainer

@shumkov

Contributing

Feel free to dive in! Open an issue or submit PRs.

License

MIT © Dash Core Group, Inc.

FAQs

Package last updated on 10 Jul 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc