Skip to content
TurtlePay™ Blockchain Data Collection Agent (BDCA)
JavaScript
Branch: master
Clone or download
Pull request Compare This branch is 1 commit ahead, 2 commits behind qwertycoin-org:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
.gitignore
.travis.yml
LICENSE
README.md
appveyor.yml
config.json
index.js
package.json
schema.sql

README.md

Qwertycoin fork of TurtlePay™ Blockchain Data Collection Agent (BDCA)

NPM

Master Build Status

Build Status Build status

Prerequisites

Foreword

We know that this documentation needs cleaned up and made easier to read. We'll compile it as part of the full documentation as the project works forward.

Setup

  1. Clone this repository to wherever you'd like as long as it can communicate with your SQL server to run:
git clone https://github.com/qwertycoin-org/blockchain-data-collection-agent
  1. Install the required Node.js modules
cd blockchain-data-collection-agent && npm install
  1. Load the database schema from schema.sql into your configured database.

  2. Fire up the script

export MYSQL_HOST=localhost
export MYSQL_PORT=3306
export MYSQL_USERNAME=yourdbusername
export MYSQL_PASSWORD=yourdbpassword
export MYSQL_DATABASE=yourdbname
export NODE_HOST=localhost
export NODE_PORT=11898
node index.js	node index.js
```	```

5) Optionally, install PM2 or another process manager to keep the service running.

```bash
npm install -g pm2@latest
pm2 startup
pm2 start index.js --name blockchain-data-collection-agent
pm2 save
  1. Wait to build your database cache (this is likely to take days depending on the size of your chain)
(c) 2018-2019 TurtlePay™ Development Team
You can’t perform that action at this time.