Skip to content
 
 

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

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages