Skip to content
master
Switch branches/tags
Code
This branch is even with master.
Contribute

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

TurtlePay™ Blockchain Data Collection Agent (BDCA)

Resources

License

Releases

No releases published

Packages

No packages published