Giter Club home page Giter Club logo

chains_tester's Introduction

Chains Tester

This tool allows you to test your chains.json file to see if your chains are available, syncing, or in sync. This is an open source tool for the community, and any help, fixes or improvements are more than welcome. For now most common chains are handled, but there are several of them not tested because I don't have access.

After you start the process it will make an initial run, followed by additional runs every 5 minutes until complete.

Requirements

Nodejs + NPM|Yarn

Install

  1. git clone npm install

How to use

  1. Create a chains.json next to index.js and run npm start
  2. Alternative: Create any .json file that follows the chains.json structure and run: node index.js my-file.json to run your own custom chains file. *. node index.js -c <file_path> -i <interval_minutes>

When executed, you will see something like this:

starting chains check...
reading chains from: /home/overlordyorch/Pocket/chain_tester/jorge-chains.json
Chain POKT Mainnet (0001) not supported yet. Skipping...
Ethereum (0021): Height = 13901263 Sync Status = Sync
ETH Archival Trace (0028): Height = 13901263 Sync Status = Sync
xDAI (0027): Height = 16550511 Sync Status = Syncing
xDAI Archival (000C): Height = 16550514 Sync Status = Syncing
FUSE Mainnet (0005): Height = 14688797 Sync Status = Sync
FUSE Archival (000A): Height = 14688797 Sync Status = Sync
Harmony Shard 0 (0040): Height = 21089416 Sync Status = Sync
Ethereum Goerli (0026): Height = 6107882 Sync Status = Sync
IoTeX Mainnet (0044): Height = 15040014 Sync Status = Sync
Polygon Mainnet (0009): Height = 23109270 Sync Status = Sync
Ethereum Rinkeby (0025): Height = 9899985 Sync Status = Sync
Ethereum Ropsten (0023): Height = 11713691 Sync Status = Sync
BSC Mainnet (0004): Height = 13902907 Sync Status = Sync
Avalanche Mainnet (0003): Height = 1085211 Sync Status = Sync
Avalanche Mainnet (0003): Height = Unavailable Sync Status = Syncing
chains check done
Scheduling next check in 2 minutes

Commands

  • node index.js -V - Print version
  • node index.js -h - Print available commands
  • node index.js -c <file_path> -i <interval_minutes>

chains_tester's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.