cazala / coin-hive

CoinHive cryptocurrency miner for node.js
https://www.npmjs.com/package/coin-hive
MIT License
1.98k stars 400 forks source link

How to add etn miner in site #77

Closed rimanve closed 6 years ago

rimanve commented 6 years ago

Hi, thanks for the project.

i want to add a ETN miner in my site.

i don't know much about coding and javascript, i think i read the guide maybe 10 times and still didn't figure it out how to get it work. will it work if i upload the entire code to site and then add this to html codes:

`

`

cazala commented 6 years ago

Hi, this package is not for mining on the browser, but for mining on node.js

If you want to mine ETN on the web, you can, what you need is a proxy, then you point your web miners to your proxy, and the proxy to the ETN pool.

Check coin-hive-stratum. You will need a server capable of running node.js in order to deploy the proxy. There are guides to deploy the server to now.sh and DigitalOcean for free.