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.
5chdn
32057b15c8
|
6 years ago | |
---|---|---|
bin | 6 years ago | |
lib | 6 years ago | |
src | 6 years ago | |
.dockerignore | 6 years ago | |
.gitignore | 6 years ago | |
.travis.yml | 6 years ago | |
Dockerfile | 6 years ago | |
Gruntfile.js | 6 years ago | |
LICENSE | 6 years ago | |
Procfile | 10 years ago | |
README.md | 6 years ago | |
app.js | 6 years ago | |
package.json | 6 years ago |
README.md
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
:-)