Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bitcore-notifications

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitcore-notifications

Calls webhooks on blockchain notifications.

  • 0.0.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Bitcore Notifications Service

Service that can be plugged into bitcore-node and calls webhooks on certain events.

Supported events:

New transaction broadcasted

The endpoints are going to be called with the insight-api tx json schema.

Usage

var notifications = require('bitcore-notifications');

// Add bitcore notifications to the list of bitcore-node services
var configuration = {
  // Other options
  services: [
    // Other services...
    {
      name: 'bitcore-notifications',
      module: notifications,
      config: {
        webhooks: ['http://host.com/endpoint']
      }
    }
  ]
};

var node = new Node(configuration);
node.start(function (err) {
  // ...
};

Service Dependencies

  • bitcoind
  • address
  • insight-api

FAQs

Package last updated on 05 Mar 2018

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