Qwertycoin fork of TurtlePay™ Blockchain Data Collection Agent (BDCA)
Master Build Status
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.
- 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
- Install the required Node.js modules
cd blockchain-data-collection-agent && npm install
Load the database schema from
schema.sqlinto your configured database.
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
- Wait to build your database cache (this is likely to take days depending on the size of your chain)