You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.6 KiB
1.6 KiB
Ethereum Network Stats with POA and POW support
This is a visual interface for tracking proof-of-work ("mainnet") and proof-of-authority ("testnet") 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
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/ethstats-server
cd ethstats-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
Start a node process and pass the websocket secret to it.
WS_SECRET="asdf" npm start
Find the interface at http://localhost:3000
Proof-of-Work (Legacy)
Same as above, just run the pow
build task in Grunt.
grunt pow
WS_SECRET="asdf" npm start
:-)