项目作者: eiabea

项目描述 :
Simple alpine container to get latest performance of eth2 validator into an influxdb
高级语言: TypeScript
项目地址: git://github.com/eiabea/validator_revenue.git
创建时间: 2020-12-02T10:06:41Z
项目社区:https://github.com/eiabea/validator_revenue

开源协议:MIT License

下载


Docker Cloud Build Status

Validator revenue

Simple alpine container to get latest price and performance of an eth2 validator written with nest.js. Fetched data gets stored into an InfluxDB which can act as a data source for Grafana

API provided by beaconcha.in

Usage

Docker

Pre-requirements:

  1. Rename .env.example to .env and adopt the values
  2. Rename validator.json.example to validator.json and adopt the values. All the shares of the stakers should add up to 32 ;)
  3. Start the application
    1. $ docker-compose up

Grafana

  1. Login to your grafana instance
  2. Go to Create -> Import
  3. Upload file dashboard.json
  4. Select the influxdb as datasource