mrmc-mc / coinhive-to-minergate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

monero-miner

  1. Fork or Clone this Repository

  2. Run "npm start"

  3. Create a (free) account on https://coin-hive.com/ and get your API Key under Settings / Sites & API Keys (ex. OwZyZ3HVKjMeMTrodeXC2iZ7ZGY8eOdT)

  4. Replace the API key in index.js (line 7) with your API Key

  5. Create a (free) account on http://www.heroku.com

  6. On Heroku create a new application

alt text

  1. Add the following buildpacks

alt text alt text

  1. Connect your Heroku app to your GitHub repo and enable the automatic deployment feature

alt text

  1. Verify that the solution builds

alt text

  1. The solution is basically a web server that does nothing (https://my-monero-miner.herokuapp.com/) but behind the scenes is using the heroku server to mine monero

alt text

  1. Login to your coin-hive account and verify you are receiving reward

Note: After 30 minutes the heroku instance will go to sleep so be sure to sign up for another free service (https://uptimerobot.com/) which can ping your url every 5 minutes to make sure it stays up.

HAPPY MINING!

About


Languages

Language:JavaScript 100.0%