Skip to content

vergecurrency/bitcore

 
 

Repository files navigation

Bitcore

Infrastructure to build Verge 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]:vergecurrency/bitcore.git
cd bitcore
git checkout master
npm install

Setup Guide

1. Setup Bitcore config

Example bitcore.config.json
{
  "bitcoreNode": {
    "chains": {
      "XVG": {
        "mainnet": {
          "chainSource": "p2p",
          "trustedPeers": [
            {
              "host": "127.0.0.1",
              "port": 21102
            }
          ],
          "rpc": {
            "host": "127.0.0.1",
            "port": 20102,
            "username": "RPCUSER",
            "password": "RPCPASS"
          }
        }
      }
    }
  }
}

2. Setup Verge Node

Example Verge Mainnet Config
txindex=0
listen=1
server=1

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

# if using Verge Core v5+ prefix
# [main]

port=21102
rpcport=20102

rpcuser=RPCUSER
rpcpassword=RPCPASS

3. Run Verge node

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

4. Start Bitcore

npm run bootstrap  (if you are using ubuntu 18.04 you will need to do this)
npm run node

If you'd like to use Docker go to the docker manual.

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 Lib Cash - A pure and powerful JavaScript Bitcoin Cash 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
  • Bitcore P2P Cash - The peer-to-peer networking protocol for BCH
  • 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.

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

About

Bitcore with Verge Currency support

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 92.9%
  • TypeScript 6.2%
  • HTML 0.7%
  • SCSS 0.2%
  • Dockerfile 0.0%
  • Shell 0.0%