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
7cb21bcd5f
|
6 years ago | |
---|---|---|
bin | 6 years ago | |
lib | 6 years ago | |
src | 6 years ago | |
.dockerignore | 7 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 | 7 years ago | |
package.json | 6 years ago |
README.md
Ethereum Network Stats with POA support
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
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
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