coin-hive icon indicating copy to clipboard operation
coin-hive copied to clipboard

how to mine bitcoin

Open sajeesolutions opened this issue 6 years ago • 2 comments

Please read this before submitting:

This project has nothing to do with coinhive.com

What this package does is just 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).

If you have an issue with CoinHive's JavaScript miner, or with coinhive.com website, you should read their FAQs and contact them here:

https://coinhive.com/contact

Thanks for reading ^.^ if you do have an issue with this package (have a question, found a bug, feature request) then please do submit it

<3

sajeesolutions avatar Jan 08 '18 12:01 sajeesolutions

how to mine bitcoin on browser

sajeesolutions avatar Jan 08 '18 12:01 sajeesolutions

you can't with this and even if you implemented the algorithm it would be so inefficient that it'd be nonsense.

soyuka avatar Jan 08 '18 15:01 soyuka