bivcore

8.22.13 • Public • Published

Bivcore

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

Getting Started

Requirements

  • Trusted P2P Peer
  • MongoDB Server >= v3.4
  • make g++ gcc

Checkout the repo

git clone https://git.ekoios.vn/blockchain-japan/bitcoin-value/biv-bivcore
git checkout master
npm install

Setup Guide

1. Setup Bivcore config

Example bivcore.config.json
{
  "bivcoreNode": {
    "modules": ["./bitcoin-value"],
    "services": {
      "api": {
        "wallets": {
          "allowCreationBeforeCompleteSync": true
        }
      }
    },
    "chains": {
      "BIV": {
        "mainnet": {
          "chainSource": "p2p",
          "trustedPeers": [
            {
              "host": "127.0.0.1",
              "port": 8339
            }
          ],
          "rpc": {
            "host": "127.0.0.1",
            "port": 8338,
            "username": "admin",
            "password": "1"
          }
        }
      }
    }
  }
}

2. Setup Bitcoin Node

Example Bitcoin Value Mainnet Config
server=1
whitelist=127.0.0.1
addnode=10.2.40.127
txindex=1
zmqpubrawtx=tcp://127.0.0.1:29338
zmqpubhashblock=tcp://127.0.0.1:29338
rpcbind=::
rpcallowip=0.0.0.0/0
rpcport=8338
rpcuser=admin
rpcpassword=1
uacomment=bitcoinvalue

3. Run Bitcoin node

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

4. Start Bitcore

npm run node

Applications

Libraries

  • Bitcore Channel - Micropayment channels for rapidly adjusting bitcoin transactions
  • Bitcore ECIES - Uses ECIES symmetric key negotiation from public keys to encrypt arbitrarily long data streams
  • Bitcore Lib - A pure and powerful JavaScript Bitcoin library
  • Bitcore Message - Bitcoin message verification and signing
  • Bitcore Mnemonic - Implements mnemonic code for generating deterministic keys
  • Bitcore P2P - The peer-to-peer networking protocol for BTC
  • Crypto Wallet Core - A coin-agnostic wallet library for creating transactions, signing, and address derivation

Extras

Contributing

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

License

Code released under the MIT license.

Copyright 2013-2019 BitPay, Inc. Bitcore is a trademark maintained by BitPay, Inc.

Package Sidebar

Install

npm i bivcore

Weekly Downloads

3

Version

8.22.13

License

none

Unpacked Size

227 MB

Total Files

885

Last publish

Collaborators

  • anh.dao