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?

  • Have you looked at emscripten? – user1425 Sep 19 '17 at 15:18
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.

  • why would they blacklist sites ? – Sumit Sep 19 '17 at 12:49
  • The same reason that they penalize other types of low quality web sites and ad-heavy sites. See bespoke-digital.co.uk/guides/google-fred – knaccc Sep 19 '17 at 19:01
  • I hope they don't blacklist sites I hope this could be a viable alternative to ads however it shouldn't be penalised – Joss Bird Jan 23 '18 at 22:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.