0.0.7 • Published 4 years ago

altiuscore-node v0.0.7

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

Altiuscore Node

A Altius full node for building applications and services with Node.js. A node is extensible and can be configured to run additional services.

Getting Started

  1. Install nvm https://github.com/creationix/nvm

    nvm i v6
    nvm use v6
  2. Install mongo https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/

  3. Install altius-bitcore https://github.com/altiusofficial/altius-bitcore - with ZMQ !

    # with ZMQ
    sudo apt-get install libzmq3-dev 
  4. Install altiuscore-node

    npm i https://github.com/altiusofficial/altiuscore-node.git#master
    
    $(npm bin)/altiuscore-node create mynode
    
    cd mynode
  5. Edit altiuscore-node.json

    {
      "network": "livenet",
      "port": 3001,
      "services": [
        "altiusd",
        "web"
      ],
      "servicesConfig": {
        "altiusd": {
          "spawn": {
            "datadir": "/home/user/.altius",
            "exec": "/home/user/altius-bitcore/src/altiusd"
          }
        }
      }
    }
  6. Edit altius.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
  7. Run Node

    $(npm bin)/altiuscore-node start

Add-on Services

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

Contributing

License