avalanche-stats

1.0.9 • Public • Published

avalanche-stats

This script provides an average uptime of an avalanche node from the perspective of a subset of the network.

asciicast

How this script works?

It inspects the avalanche network, looking for nodes with 9650 port open. Then it retrieves the uptime of each validator from this open nodes, providing an average uptime from the perspective of a subset of the network.

How to install

npm i -g avalanche-stats

How to use

avalanche-stats uptime-by-nodeId <NodeID> [timeout]
avalanche-stats uptime-by-nodeId NodeID-Js3ahWihoTLJWTrWzpth9mttniJNuyoki
avalanche-stats get-peers

Donations

Consider supporting this project by donating to X-avax1rc0jdc0xvj7damvvf6wne7zy3kjssazzwck8qa

Useful Links

Readme

Keywords

none

Package Sidebar

Install

npm i avalanche-stats

Weekly Downloads

14

Version

1.0.9

License

ISC

Unpacked Size

162 kB

Total Files

10

Last publish

Collaborators

  • menxit