TheGoldenEye / polka-1kv

Display of validators data from "Polkadot Thousand Validators Programme"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

polka-1kv

Display of validators data from "Polkadot Thousand Validators Programme"

polka-1kv is a Node.js script which shows data from validators taking part in the "Polkadot Thousand Validators Programme".

Installation

This repo uses yarn package manager to organise the code.
If you have not installed yarn, read on here: https://yarnpkg.com/getting-started/install

yarn install

Configuration

The script uses the json configuration files in the config directory. At the first start the config template *.json.tpl is copied to *.json. The default configuration shows all validators participating in the program. If you want to show only selected validators, you can define the list of validators manually in the configuration (*.json), e.g.:

{
  "url" : "https://polkadot.w3f.community/candidates",
  "names" : ["DrNo-sv-validator-1", "Ondin", "redpenguin"]
}

Running the script

You can start the script with one of the following commands, depending on which program you want to display the data from (polkadot or kusama):

yarn polkadot
yarn kusama

You will get an output like this:

---------------------------------------------------------------
polka-1kv: v1.0.0  Copyright © 2021 GoldenEye
---------------------------------------------------------------

Name: DrNo-sv-validator-1
Stash: 14gYRjn6fn5hu45zEAtXodPDbtaditK8twoWUXFi6DsLwd31
Version: 0.8.27-2f845699-x86_64-linux-gnu
Updated: true
Discovered: 2020-11-27 11:35:14
Nominated: 2021-1-17 11:15:28
Online Since: 2020-12-31 14:24:39
Offline Since: -
Offline Accumulated: 0
Rank: 2
  2021-1-10 16:40:06, StartEra:222, ActiveEra:223
  2021-1-15 16:40:11, StartEra:227, ActiveEra:228
Faults: 0

Name: redpenguin
Stash: 15KDFYfFjdqhp3MDFEtHuyu9kLpXbT7k1zjx78MphViFdCaU
Version: 0.8.27-2f845699-x86_64-linux-gnu
Updated: true
Discovered: 2020-12-8 11:21:45
Nominated: 2021-1-16 11:00:00
Online Since: 2021-1-8 18:18:31
Offline Since: -
Offline Accumulated: 0
Rank: 1
  2021-1-16 16:40:07, StartEra:228, ActiveEra:229
Faults: 0

Name: Ondin
Stash: 13ond4N8gejhNeYFxAiCtDymHvgsyQMW3L2kvKMEPtmvi3Cu
Version: 0.8.27-2f845699-x86_64-linux-gnu
Updated: true
Discovered: 2021-1-6 13:49:53
Nominated: 2021-1-15 11:15:00
Online Since: 2021-1-7 17:47:25
Offline Since: -
Offline Accumulated: 0
Rank: 0
Faults: 0

Authors

  • GoldenEye

Please support me

If you like my work, please consider to support me in the Polkadot/Kusama networks and nominate my validators:

Polkadot:

  1. Validator GoldenEye
  2. Validator GoldenEye/GE2

Kusama:

  1. Validator GoldenEye
  2. Validator GoldenEye/GE2
  3. Validator GoldenEye/GE3

License

Apache 2.0 License
Copyright © 2021 GoldenEye

Disclaimer: The tool is provided as-is. I cannot give a guarantee for accuracy and I assume NO LIABILITY.

About

Display of validators data from "Polkadot Thousand Validators Programme"

License:Apache License 2.0


Languages

Language:JavaScript 97.5%Language:Smarty 2.5%