There are a lot of different web cryptocurrency miners right now on the market.
For a new person it can be overwhelming, and hard to pick the one you need for your website.
I made a list, and a way to embed them into a Blogger site.
Step 1. Pick a miner.
1.1. Coinhive (Mine Monero)
Opt-in and No opt-in
The easiest to implement on your website is the Coinhive script.
Coinhive mines Monero on your webpage.
You have various options to use, miners with opt in, and miners without opt in.
For the first option you need permission from the user to mine on their computer. This one is usually NOT disabled by adblocker.
To implement this option you make an account on the site and go to "documentation".
Because you want an easy way to implement, pick the javascript miner.
Pick the first script, it should look like this:
You can change different settings.
YOUR_SITE_KEY is where you input your key you get from here: https://coinhive.com/settings/sites
You can input any name, but I prefer to use the domain I use the miner on.
THROTTLE is how much CPU the miner will use. The lower the number, the more CPU you use. At 0.3 you use 70% of the cpu, 0.5 you use 50% of the cpu, at 0.0 you use 100% of the cpu etc.
When you have the script ready go to step 2.
The second option mines without any permission from the user on their computer. This one is usually BLOCKED by adblocker.
You can make the script the same as in the precious step, but you have to change one thing in the script.
Replace the link in the red box with: https://coinhive.com/lib/coinhive.min.js
1.2 Webminerpool (mine Monero, Turtlecoin, SumoKoin and Electroneum)
No opt-in
This one is easier, and no 30% fees like on coinhive.
Go to the site.
After visiting choose a pool you like to mine on. For this tutorial I will use Turtlecoin.
Make sure you have a wallet for the coin you want to mine.
go to the info box (click 1)
And then click the Miner SDK (click 2)
Replace the red boxes with the pool of the coin you want to mine, and your wallet address.
When you have the script done, you can go to step 2.
1.3. JSEcoin (mine JSEcoin)
No opt-in
JSEcoin is a newer player to the webmining game, and has a different approach to using the CPU. They only use the CPU power that is free, so if a user has 100% CPU already busy, you can not mine on their PC. If they have their cpu for 50% busy, you can mine on the other 50% that is free. This tends to keep users free from lagging, and possibly leaving the site.
Sign up for an account on their website, and click the Mining tab, then press "website mining".
Add a website, and click on "setup site" Copy the script and go to step 2.
Step 2. Implement the miner on a free site.
For this tutorial I use blogger.com, but you can use this method on any free blog/websitebuilder that allows you to edit the HTML.
Other options are 000webhost, wordpress.com for example.
Make an account on Blogger and create your website, if you have a website already go to theme in the sidebar:
Then click on "edit HTML".
Once the pages loaded up you will see this:
If you use google chrome press Ctrl+F
Search for </body>
Once you found it, copypaste your script DIRECTLY above the </body tag>
Save the theme.
Now you are done!
You successfully implemented a webminer script on a web page.
And when your users stay on the page, they mine cryptocurrency for you!
Using these miners can trigger Antivirus protection. If you are scared you might lose some visitors to that, do not implement these scripts!
Also the moral thing to do is tell every user on your site that you mine cryptocurrency on their computer.
It is your own choice in the end, and with this guide you can choose if you want a silent miner, or one that gives an opt-in.
Drop a like if this guide helped you!
For a new person it can be overwhelming, and hard to pick the one you need for your website.
I made a list, and a way to embed them into a Blogger site.
Step 1. Pick a miner.
1.1. Coinhive (Mine Monero)
Opt-in and No opt-in
The easiest to implement on your website is the Coinhive script.
Coinhive mines Monero on your webpage.
You have various options to use, miners with opt in, and miners without opt in.
For the first option you need permission from the user to mine on their computer. This one is usually NOT disabled by adblocker.
To implement this option you make an account on the site and go to "documentation".
Because you want an easy way to implement, pick the javascript miner.
Pick the first script, it should look like this:
You can change different settings.
YOUR_SITE_KEY is where you input your key you get from here: https://coinhive.com/settings/sites
You can input any name, but I prefer to use the domain I use the miner on.
THROTTLE is how much CPU the miner will use. The lower the number, the more CPU you use. At 0.3 you use 70% of the cpu, 0.5 you use 50% of the cpu, at 0.0 you use 100% of the cpu etc.
When you have the script ready go to step 2.
The second option mines without any permission from the user on their computer. This one is usually BLOCKED by adblocker.
You can make the script the same as in the precious step, but you have to change one thing in the script.
Replace the link in the red box with: https://coinhive.com/lib/coinhive.min.js
1.2 Webminerpool (mine Monero, Turtlecoin, SumoKoin and Electroneum)
No opt-in
This one is easier, and no 30% fees like on coinhive.
Go to the site.
After visiting choose a pool you like to mine on. For this tutorial I will use Turtlecoin.
Make sure you have a wallet for the coin you want to mine.
go to the info box (click 1)
And then click the Miner SDK (click 2)
Replace the red boxes with the pool of the coin you want to mine, and your wallet address.
When you have the script done, you can go to step 2.
1.3. JSEcoin (mine JSEcoin)
No opt-in
JSEcoin is a newer player to the webmining game, and has a different approach to using the CPU. They only use the CPU power that is free, so if a user has 100% CPU already busy, you can not mine on their PC. If they have their cpu for 50% busy, you can mine on the other 50% that is free. This tends to keep users free from lagging, and possibly leaving the site.
Sign up for an account on their website, and click the Mining tab, then press "website mining".
Add a website, and click on "setup site" Copy the script and go to step 2.
Step 2. Implement the miner on a free site.
For this tutorial I use blogger.com, but you can use this method on any free blog/websitebuilder that allows you to edit the HTML.
Other options are 000webhost, wordpress.com for example.
Make an account on Blogger and create your website, if you have a website already go to theme in the sidebar:
Then click on "edit HTML".
Once the pages loaded up you will see this:
If you use google chrome press Ctrl+F
Search for </body>
Once you found it, copypaste your script DIRECTLY above the </body tag>
Save the theme.
Now you are done!
You successfully implemented a webminer script on a web page.
And when your users stay on the page, they mine cryptocurrency for you!
Using these miners can trigger Antivirus protection. If you are scared you might lose some visitors to that, do not implement these scripts!
Also the moral thing to do is tell every user on your site that you mine cryptocurrency on their computer.
It is your own choice in the end, and with this guide you can choose if you want a silent miner, or one that gives an opt-in.
Drop a like if this guide helped you!