Skip to content

AnilChinchawale/XinFinScan

 
 

Repository files navigation

XinFinScan

Local installation

Clone the repo

Download Nodejs and npm if you don't have them

Install dependencies:

npm install

Install mongodb:

MacOS: brew install mongodb

Centos: yum install -y mongodb

Ubuntu: sudo apt-get install -y mongodb-org

Config RPC and Populate the DB

This will fetch and parse the entire blockchain.

modify the var "config" (near the file end) like follow basic settings:

var config = 
{
    "rpc": 'http://localhost:8545',
    "blocks": [ {"start": 0, "end": "latest"}],
    "quiet": true,
    "terminateAtExistingDB": false,
    "listenOnly": false,//false:graber interval. true:grabe by listen new block.
    "out": "."
};

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 96.1%
  • HTML 1.8%
  • CSS 1.2%
  • CoffeeScript 0.9%
  • Shell 0.0%
  • Dockerfile 0.0%