7

Coin-hive.com implements a java-script version of monero cpu miner. Which we can insert on our website to mine monero through the users CPU power. Can Someone provide me leads on how this works on the backend. Does this works on C++ or java-script solely and how can i implement my own version of this?

Sumit
  • 173
  • 1
  • 5

1 Answers1

6

The site itself says they've used WebAssembly to compile C code to Javascript. This means you'd need to be competent in C in order to attempt this feat.

If you work through the numbers though, the revenue you'd get from asking your visitors to mine Monero will be tiny compared to the advertising revenue you could get instead. I'd also imagine Google will soon start blacklisting sites that do this.

knaccc
  • 8,518
  • 17
  • 23