interacting with ARMRd using bitcore lib - ARMROfficial/armr GitHub Wiki

Getting Started

Requirements

  • Trusted P2P Peer
  • MongoDB Server >= v3.4

Installation

npm install bitcore-lib
bower install bitcore-lib

Setup Guide

1. Setup Bitcore config

Example bitcore.config.json
{
  "bitcoreNode": {
    "chains": {
      "ARMR": {
        "mainnet": {
          "chainSource": "p2p",
          "trustedPeers": [
            {
              "host": "127.0.0.1",
              "port": 16560
            }
          ],
          "rpc": {
            "host": "127.0.0.1",
            "port": 17570,
            "username": "username",
            "password": "password" }
          }
       }
    }
  }
}

2. Setup ARMR Node

Example ARMR Mainnet Config
whitelist=127.0.0.1
txindex=0
listen=1
server=1
irc=1
upnp=1

port=16560
rpcport=17570
rpcallowip=127.0.0.1

rpcuser=username
rpcpassword=password

3. Run ARMR node

Example Starting ARMR Node
# Path to your ARMR application and path to the config above
ARMRd -datadir=~/.ARMR

4. Start Bitcore

npm run node
⚠️ **GitHub.com Fallback** ⚠️