Cryptocurrency Monero (XMR) mining With Javascript – How to mine Monero

Cryptocurrency Monero (XMR) mining With Javascript – How to mine Monero


Coinhive offers a JavaScript miner for the Monero Blockchain (Why Monero?) that you can embed in your website. Your users run the miner directly in their Browser and mine XMR for you in turn for an ad-free experience, in-game currency or whatever incentives you can come up with.

grant video streaming time
offer files for download
allow ad-free browsing on your site
credit in-game money or items in your game
Our JavaScript API gives you the flexibilty to offer any rewards and incentives you like.

We also offer a captcha-like service as well as a shortlink solution that is easy to implement on your site. These services, while fully supported, should only serve as an example of what’s possible.

We are excited to see how you will use our service. We dream about it as an alternative to micro payments, artificial wait time in online games, intrusive ads and dubious marketing tactics.

Your users can “pay” you with full privacy, without registering an account anywhere, without installing a browser extension and without being bombarded by shady ads. They will pay you with just their CPU power.

While it’s possible to run the miner without informing your users, we strongly advise against it. You know this. Long term goodwill of your users is much more important than any short term profits.

You can credit found hashes to a user name or let it run anonymously. The miner runs until you explicitly stop it again or the user navigates away. You can also credit hashes to a random token and the miner will automatically stop when it reaches the specified number of hashes.

Instead of using ads, I am having you mine for crypto currency to support this site. Here are your stats:

Source:
https://coinhive.com/documentation/miner

Related Post: