ethstats-server/README.md

1.5 KiB

Ethereum Network Stats with POA support

Build Status dependency status

This is a visual interface for tracking proof-of-work and proof-of-authority network status. It uses WebSockets to receive stats from running nodes and output them through an angular interface. It is the front-end implementation for netstats-client.

Proof-of-Authority

Screenshot

Prerequisite

  • node
  • npm

Installation

Make sure you have node.js and npm installed.

Clone the repository and install the dependencies

git clone https://github.com/goerli/netstats-server
cd netstats-server
npm install
sudo npm install -g grunt-cli

Build

In order to build the static files you have to run grunt tasks which will generate dist directories containing the js and css files, fonts and images.

grunt poa

Run

WS_SECRET="asdf" npm start

see the interface at http://localhost:3000

Proof-of-Work

Screenshot

Same as above, just run the pow build task in Grunt.

grunt pow
WS_SECRET="asdf" npm start

see the interface at http://localhost:3000