bitcore-notifications

0.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i bitcore-notifications

Weekly Downloads

0

Version

0.0.1

License

All rights reserved

Unpacked Size

4.31 kB

Total Files

6

Last publish

Collaborators

  • torstenstueber