Skip to content

Latest commit

 

History

History
134 lines (98 loc) · 3.1 KB

README.md

File metadata and controls

134 lines (98 loc) · 3.1 KB

Bitcore

Infrastructure to build DeVault and blockchain-based applications for the next generation of financial technology.

Getting Started

Requirements

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

Checkout the repo

git clone [email protected]:devaultcrypto/bitcore-dvt.git
git checkout master
npm install

Setup Guide

1. Setup Bitcore config

Example bitcore.config.json
{
  "bitcoreNode": {
    "services": {
      "api": {
      }
    },
    "chains": {
      "DVT": {
        "testnet": {
          "chainSource": "p2p",
          "trustedPeers": [
            {
              "host": "localhost",
              "port": 39039
            }
          ],
          "rpc": {
            "host": "localhost",
            "port": 13339,
            "username": "username",
            "password": "password"
          }
        }
      }
    }
  }
}

2. Setup DeVault Node

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

# Make sure port & rpcport matches the
# bitcore.config.json ports

# network prefix
[main]

rpcallowip=127.0.0.1

rpcuser=username
rpcpassword=password

3. Run DeVault node

Example Starting a DeVault Node
# Path to your devault application and path to the config above
/Applications/DeVault-Qt.app/Contents/MacOS/DeVault-Qt -datadir=/Users/username/blockchains/devault/networks/mainnet/

4. Start Bitcore

npm run node

Applications

Libraries

  • Bitcore Lib - A pure and powerful JavaScript Bitcoin library
  • Bitcore Lib DVT - A pure and powerful JavaScript DeVault library
  • Bitcore Mnemonic - Implements mnemonic code for generating deterministic keys
  • Bitcore P2P - The peer-to-peer networking protocol for BTC
  • Bitcore P2P DVT - The peer-to-peer networking protocol for DVT
  • Crypto Wallet Core - A coin-agnostic wallet library for creating transactions, signing, and address derivation

Extras

Contributing

See CONTRIBUTING.md on the main bitcore repo for information about how to contribute.

License

Code released under the MIT license.