docker.grassecon.net/kitabu/ethstats-server:1.0.0
Go to file
2019-02-19 09:00:10 +01:00
bin node: rename repository 2018-12-03 20:50:23 +01:00
lib Add robots.txt, cleanup config.js list 2018-11-07 22:46:33 +09:00
src add frontend config 2019-02-18 16:56:19 +01:00
.dockerignore Add automated docker hub builds 2017-10-26 14:07:13 +03:00
.gitignore server: update gitignore 2018-12-01 17:30:02 +01:00
.travis.yml node: be more generic in dist tasks 2018-12-03 20:43:56 +01:00
app.js Introduce an ID reservation list. 2017-09-12 11:29:03 +03:00
Dockerfile Merge branch 'docker-image' of github.com:letbetcoin/eth-netstats into tao-staging 2018-12-01 19:47:21 +01:00
Gruntfile.js add frontend config 2019-02-18 16:56:19 +01:00
LICENSE server: allow for poa and pow network stats 2018-12-03 13:11:51 +01:00
package.json Update geoip-lite dependency to 1.3.5 2018-12-12 11:30:10 +01:00
Procfile fixed Procfile 2015-02-05 08:26:17 +02:00
README.md add frontend config file build command to readme 2019-02-18 19:49:47 +01:00

Ethereum Network Stats with POA and POW support

Build Status dependency status

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 ethstats-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/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

To build the static files for a network other than Ethereum copy and change src/js/defaultConfig.js and run the following command.

grunt poa --configPath="src/js/someOtherConfig.js"

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)

Screenshot

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

grunt pow
WS_SECRET="asdf" npm start

:-)