Skip to content

hemilabs/ethstats-client

 
 

Repository files navigation

Hemi Network Intelligence API

This is the backend service which runs along with ethereum nodes and tracks the network status, fetches information through JSON-RPC and connects through WebSockets to an ethstats-server to feed information.

Installation

Clone the repository, install node dependencies.

git clone https://github.com/hemilabs/ethstats-client.git
cd ethstats-client/
npm install

Configuration

Set the following environment variables:

  • CONTACT_DETAILS: Optional email of the node maintainer.
  • INSTANCE_NAME: Name of the monitored node.
  • LISTENING_PORT: P2P port of the node.
  • RPC_URL: URL of the RPC endpoint of the node.
  • WS_SECRET: Server secret. Ask in Discord for it.
  • WS_SERVER: Server websocket URL.

Run

docker run --env-file .env --interactive --rm --tty hemilabs/ethstats-client:master

About

Hemi Network Intelligence API

Resources

License

Code of conduct

Stars

Watchers

Forks

Languages

  • JavaScript 99.1%
  • Dockerfile 0.9%