Code Monkey home page Code Monkey logo

blockchain-data-collection-agent's Introduction

TurtlePay™ Blockchain Data Collection Agent (BDCA)

Master Build Status

Build Status Build status

Prerequisites

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/TurtlePay/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
  1. Optionally, install PM2 or another process manager to keep the service running.
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

blockchain-data-collection-agent's People

Contributors

brandonlehmann avatar sayuki0x avatar thinkpol2 avatar zpalmtree avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.