Git Product home page Git Product logo

hiveon-client's Introduction

HIVEON Pool Stats Collector in InfluxDB

To run the application

You need to create an influx db cloud account (https://cloud2.influxdata.com/signup) and create a bucket named hiveon-earning (can be changed with environment variable INFLUX_DB_BUCKET)

export ETH_WALLET="your wallet" export INFLUX_DB_TOKEN="your influx db cloud token" export INFLUX_DB_ORG="your influx db cloud org" node index

Optional Environmen variables:

  • INTERVAL (default 60000): Process interval in milliseconds.
  • INFLUX_DB_BUCKET (default hiveon-earning): the bucket to store the data.
  • INFLUX_DB_URL (default https://us-east-1-1.aws.cloud2.influxdata.com): The influx db url to send the data.

Api Endpoints

The endpoints you're looking for are the following (replace walletAddress123 with your wallet address), When pasting your address, you need to exclude the first two letters, the address also has to be all lowercase:

https://hiveon.net/api/v1/stats/miner/walletAddress123/ETH/billing-acc for estimated earnings

https://hiveon.net/api/v1/stats/miner/walletAddress123/ETH for hashrate stats

https://hiveon.net/api/v1/stats/shares?minerAddress=walletAddress123&coin=ETH&window=10m&limit=144&offset=0&worker= for data of the share graph

https://hiveon.net/api/v1/stats/hashrates?minerAddress=walletAddress123&coin=ETH&window=10m&limit=144&offset=0&worker= for data of the hashrate graph

hiveon-client's People

Contributors

v1ct0rv avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

esille

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.