I’ve been fascinated with coin-hive ever since it came out. But the problem was that coin hive takes 30% of all your hard earned monero, not cool. So I searched on github to see if anyone did anything to circumvent this, to my surprise someone actually did 🙂

It’s a pretty neat project and setting it up was a cakewalk.

All you need to do is set up nodejs and npm on your machine, I tested this baby out on a Debian machine.

Install the cli app by running the command,

npm install -g coin-hive-stratum

After installing just run the web socket server using the command,

coin-hive-stratum 8892 --host=la01.supportxmr.com --port=3333

I use supportxmr as my monero pool, you can apparently use any stratum pool that you want, which is supremely cool as you can even run your own pool and not worry about pools getting away with your hard earned coins </3

After that is done you can set up the client side of things,

Here‘s a demo client I set up on bitballoon. Keep it running for a few minutes to help me out, haha. You can check the source using your browser, I will be donating whatever I get from that domain to charity. 🙂

This is really cool since most mining pools take only 1-2% of your profits and not 30% like coin-hive does, which is reasonable. Thank you for reading this article, see you next time 🙂

Point your mad miners to that address for 5 minutes and you sir are awesome 🙂

If you do have any questions please comment below!