Skip to content

LEAD-Anoy74/bitcore-node-zeroclassic

Repository files navigation

Bitcore Node

A Bitcoin 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 Bitcoin Core with additional indexing 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 LEAD-Anoy74/bitcore-node-zeroclassic
./node_modules/bitcore-node-zeroclassic/bin/bitcore-node start

Note: For your convenience, we distribute bitcoind binaries for x86_64 Linux and x86_64 Mac OS X. Upon npm install, the binaries for your platform will be downloaded. For more detailed installation instructions, or if you want to compile the project yourself, then please see the Bitcore branch of Bitcoin Core with additional indexing.

Install bitcore-node-zeroclassic with insight-api-zeroclassic and insight-ui-zeroclassic (tested with nodejs v4)

npm install LEAD-Anoy74/bitcore-node-zeroclassic
./node_modules/bitcore-node-zeroclassic/bin/bitcore-node create mynode
cd mynode
./node_modules/bitcore-node-zeroclassic/bin/bitcore-node install LEAD-Anoy74/insight-api-zeroclassic LEAD-Anoy74/insight-ui-zeroclassic

Now change the values of rpcuser and rpcpassword with values of your choice in the file bitcoind.js, located from the base path in: ./mynode/node_modules/bitcore-node-zeroclassic/lib/services/ . Copy the executables of the ZeroClassic daemon (you need the version of ZeroClassic daemon patched with the addition of rpc calls needed to bitcore-node-zeroclassic - https://github.com/LEAD-Anoy74/zeroclassic-1.0.14-1-bitcore) to the folder located from the base path in: ./node_modules/bitcore-node-zeroclassic/bin/ . If you have changed directories, go back to: ./mynode/ and run the command:

./node_modules/bitcore-node-zeroclassic/bin/bitcore-node start

Now all the necessary services should be working, wait for the synchronization of all the blocks by the ZeroClassic daemon. You can type in the browser's address bar: http://localhost:3001/insight/ , if everything went well you should see the ZeroClassic Insight home page.

Prerequisites

  • GNU/Linux x86_32/x86_64, or OSX 64bit (for bitcoind distributed binaries)
  • Node.js v0.10, v0.12 or v4
  • ZeroClassicMQ (libzmq3-dev for Ubuntu/Debian or zeroclassicmq on OSX)
  • ~200GB of disk storage
  • ~8GB of RAM

Configuration

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

./node_modules/bitcore-node-zeroclassic/bin/bitcore-node create -d <bitcoin-data-dir> mynode
cd mynode
./node_modules/bitcore-node-zeroclassic/bin/bitcore-node install <service>
./node_modules/bitcore-node-zeroclassic/bin/bitcore-node install https://github.com/yourname/helloworld

This will create a directory with configuration files for your node and install the necessary dependencies. 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)

About

Bitcore node for ZeroClassic

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published