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.
Clone the repository, install node dependencies.
git clone https://github.com/hemilabs/ethstats-client.git
cd ethstats-client/
npm install
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.
docker run --env-file .env --interactive --rm --tty hemilabs/ethstats-client:master