js-poolminer-harvester

Mining Pool & Cryptocurrency Data Harvester

Usage no npm install needed!

<script type="module">
  import jsPoolminerHarvester from 'https://cdn.skypack.dev/js-poolminer-harvester';
</script>

README

js-poolminer-harvester

Mining Pool & Cryptocurrency Data Harvester

Installation

npm install js-poolminer-harvester

Usage

You may harvest coins, algorithms or pools. The following would harvest all coins, algorithms and pools

const Coins = require('js-poolminer-harvester/coins');
const Algorithms = require('js-poolminer-harvester/algorithms');
const Pools = require('js-poolminer-harvester/pools');

Promise.all([Coins.harvest(), Algorithms.harvest(), Pools.harvest()]);

Sometimes you might only want to havest a specific mining pool. In this example we will harvest the pools from btc.com

const BtcCom = require('js-poolminer-harvester/pools/btccom');

BtcCom.harvest();

Notes

  • Coins are harvested from coinmarketcap and cryptocompare
  • Algorithms are harvested from whattomine and nicehhash