docker.grassecon.net/kitabu/ethstats-server:1.0.0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Mohamed Sohail 7d1b1bf365
update: kitabu POA
1 year ago
bin node: rename repository 5 years ago
lib Replace jade to pug (#30) 1 year ago
src update: kitabu POA 1 year ago
.dockerignore update: kitabu POA 1 year ago
.env update: kitabu POA 1 year ago
.gitignore server: update gitignore 5 years ago
Dockerfile update: kitabu POA 1 year ago
Gruntfile.js Replace jade to pug (#30) 1 year ago
LICENSE server: allow for poa and pow network stats 5 years ago
README.md Update README.md 3 years ago
app.js Introduce an ID reservation list. 6 years ago
package.json update: kitabu POA 1 year ago

README.md

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

:-)