How to mine Monero on Heroku for free
monero·@bl1nkr·
0.000 HBDHow to mine Monero on Heroku for free
 It is actually pretty simple. Using Coinhive, Github, Heroku and UptimeRobot you can setup a cloud-based NodeJs Miner. 1) Fork or Clone this Repository - https://github.com/bl1nkr/monero-miner 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  7) Add the following buildpacks - heroku/nodejs - https://github.com/jontewks/puppeteer-heroku-buildpack.git   8) Connect your Heroku app to your GitHub repo and enable the automatic deployment feature  9) Verify that the solution builds  10) 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  11) 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.