cicocore-node
v0.0.7
Published
Full node with extended capabilities using cicocore and Cicocoin Core
Downloads
6
Readme
Cicocore Node
A CICO full node for building applications and services with Node.js. A node is extensible and can be configured to run additional services.
Getting Started
Install nvm https://github.com/creationix/nvm
nvm i v6 nvm use v6
Install mongo https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/
Install cico-bitcore https://github.com/coiniclesdev/cico-bitcore - with ZMQ !
# with ZMQ sudo apt-get install libzmq3-dev
Install cicocore-node
npm i https://github.com/coiniclesdev/cicocore-node.git#master $(npm bin)/cicocore-node create mynode cd mynode
Edit cicocore-node.json
{ "network": "livenet", "port": 3001, "services": [ "cicod", "web" ], "servicesConfig": { "cicod": { "spawn": { "datadir": "/home/user/.cico", "exec": "/home/user/cico-bitcore/src/cicod" } } } }
Edit cico.conf
server=1 whitelist=127.0.0.1 txindex=1 addressindex=1 timestampindex=1 spentindex=1 zmqpubrawtx=tcp://127.0.0.1:28332 zmqpubhashblock=tcp://127.0.0.1:28332 rpcallowip=127.0.0.1 rpcuser=user rpcpassword=password rpcport=18332 reindex=1 gen=0 addrindex=1 logevents=1
Run Node
$(npm bin)/cicocore-node start
Add-on Services
There are several add-on services available to extend the functionality of Cicocore: