ethstats-server/README.md

65 lines
1.7 KiB
Markdown
Raw Normal View History

2018-09-15 21:04:52 +02:00
Ethereum Network Stats based off github.com/cubedro/eth-netstats
2015-02-25 22:28:20 +01:00
============
[![Build Status][travis-image]][travis-url] [![dependency status][dep-image]][dep-url]
2015-02-04 11:37:56 +01:00
2015-02-26 20:06:51 +01:00
This is a visual interface for tracking ethereum 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 [eth-net-intelligence-api](https://github.com/cubedro/eth-net-intelligence-api).
2015-02-26 19:33:57 +01:00
2018-09-15 19:08:16 +02:00
![Screenshot](https://raw.githubusercontent.com/eosclab/eth-netstats/master/src/images/screenshot.jpg?v=0.0.6 "Screenshot")
## Prerequisite
* node
* npm
## Installation
2015-02-26 20:06:51 +01:00
Make sure you have node.js and npm installed.
2015-02-04 11:37:56 +01:00
2015-02-26 20:06:51 +01:00
Clone the repository and install the dependencies
2015-02-04 11:37:56 +01:00
2015-04-06 06:26:44 +02:00
```bash
2018-09-15 19:08:16 +02:00
git clone https://github.com/eosclab/eth-netstats
2015-02-26 20:06:51 +01:00
cd eth-netstats
npm install
2015-02-04 11:37:56 +01:00
```
2017-04-16 21:38:29 +02:00
## Build the resources
2015-07-27 15:37:42 +02:00
2018-09-15 19:08:16 +02:00
To build run
2015-07-27 15:37:42 +02:00
```bash
2018-09-15 20:48:21 +02:00
npm run dist
2015-07-27 15:37:42 +02:00
```
2017-04-16 21:38:29 +02:00
## Run
2015-02-04 11:37:56 +01:00
2015-04-06 06:26:44 +02:00
```bash
2015-02-26 20:06:51 +01:00
npm start
2015-02-04 11:37:56 +01:00
```
see the interface at http://localhost:3000
2015-02-25 22:28:20 +01:00
2018-09-15 21:04:52 +02:00
## Updates since original cubedro/eth-netstats base:
+ Fixed block history if chain is shorted than MAX_HISTORY
+ Fixed broken headings in Markdown files
+ Docker support added (compatible with puppeth)
+ Updated geoip-lite package to latest version (fixed location info)
+ Responsive design patch added for mobile view
+ Bug fixed with charts and formats
## To-do list
+ Update npm libraries for vulnerability patch & performance increase
+ Add average TPS calculation
+ More features with DPOS / POA!
2018-09-15 19:08:16 +02:00
[travis-image]: https://travis-ci.org/eosclab/eth-netstats.svg
[travis-url]: https://travis-ci.org/eosclab/eth-netstats
[dep-image]: https://david-dm.org/eosclab/eth-netstats.svg
[dep-url]: https://david-dm.org/eosclab/eth-netstats