Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

bitcore-node-divi

3.1.0 • Public • Published

Bitcore Node Divi

A Divi full node for building applications and services with Node.js. A node is extensible and can be configured to run additional services. At the minimum a node has an interface to Divi Core v0.12.1.x for more advanced address queries. Additional services can be enabled to make a node more useful such as exposing new APIs, running a block explorer and wallet service.

Install

npm install -g bitcore-node-divi

Prerequisites

  • Divi Core (v0.12.1.x) with support for additional indexing (see above)
  • Node.js v0.10, v0.12, v4 or v5
  • ZeroMQ (libzmq3-dev for Ubuntu/Debian or zeromq on OSX)
  • ~20GB of disk storage
  • ~1GB of RAM

Configuration

Bitcore includes a Command Line Interface (CLI) for managing, configuring and interfacing with your Bitcore Node.

bitcore-node-divi create -d <divi-data-dir> mynode
cd mynode
bitcore-node-divi install <service>
bitcore-node-divi install https://github.com/yourname/helloworld
bitcore-node-divi start

This will create a directory with configuration files for your node and install the necessary dependencies.

Please note that Divi Core v0.12.1.x will be downloaded automatically. Once completed the divid binary should be placed into the <divi-data-dir> folder specified during node creation.

For more information about (and developing) services, please see the Service Documentation.

Add-on Services

There are several add-on services available to extend the functionality of Bitcore:

Documentation

  • Upgrade Notes
  • Services
    • Bitcoind - Interface to Bitcoin Core
    • Web - Creates an express application over which services can expose their web/API content
  • Development Environment - Guide for setting up a development environment
  • Node - Details on the node constructor
  • Bus - Overview of the event bus constructor
  • Release Process - Information about verifying a release and the release process.

Contributing

Please send pull requests for bug fixes, code optimization, and ideas for improvement. For more information on how to contribute, please refer to our CONTRIBUTING file.

License

Code released under the MIT license.

Copyright 2013-2015 BitPay, Inc.

  • bitcoin: Copyright (c) 2009-2015 Bitcoin Core Developers (MIT License)

Keywords

none

install

npm i bitcore-node-divi

Downloadsweekly downloads

56

version

3.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar