Skip to content

What is this?

Juan Cazala edited this page Sep 21, 2017 · 1 revision

This package just does the following:

  1. Launch a local server that serves a page where CoinHive's Javascript miner is embedded.

  2. Launch puppeteer (a headless chrome) pointing to that page.

  3. Expose an API that allows you to interact with that miner from node.js (starting, stopping, etc).

The purpose of this package is to allow you to run CoinHive's JavaScript miner from node.js (otherwise it only works on the browser).

Disclaimer: this project has nothing to do with coin-hive.com or CoinHive's JavaScript miner.

Clone this wiki locally