create account

Experimenting With CoinHive Javascript Monero Miner For Wordpress by rt395

View this thread on: hive.blogpeakd.comecency.com
· @rt395 ·
$27.48
Experimenting With CoinHive Javascript Monero Miner For Wordpress
<html>
<h3>Browser Mining</h3>
<p>I started building a new site for my event, <a href="https://steemit.com/japan/@rt395/mvamxvi8">Crypto Night in Tokyo</a>. While putting it together I remembered that there are browser miners you can integrate that will mine crypto when someone visits your site. So I decided to look into one and I think I found a winner.</p>
<p>Before I go any further let me start by saying I was totally opposed to the browser miners that mine without the end user's consent. That is why I was relieved to find Coinhive. Their javascript miner alerts the visitor and asks their consent before mining. If you decline then it just takes you straight to the site. When I read that I decided to give their system a try.</p>
<p>https://steemitimages.com/DQmaMWCQihPfBfWoRqDHthYFF1ThEDu22cLZaxgbGRt1vLu/Screen%20Shot%202018-02-23%20at%208.03.51%20PM.png</p>
<p>At first I tried to run the javascript directly on the site, but it was more difficult than I had anticipated. I'm not a dev so getting the javascript configured to coffeescript was too difficult. So I went the norm route and switched to a plugin that does it for you. The plugin is called <a href="https://wordpress.org/plugins/coin-miner/">"Coin-Miner"</a>.</p>

<p>This plugin actually allows you to use one of two different services, Coinhive or Coinimp. I haven't looked into Coinimp yet so I won't comment on it. Coinhive however seems to work fine. After installing the plugin you then go into the settings of the plugin. Here you can control different variables for mining. You will also need to put in your public & private keys from Coinhive which I will get to next.</p>

<p>https://steemitimages.com/DQmcKJsMChgXA34HUTh9HXWKNwXqdkiFk5GrXo9zXzZps5d/Screen%20Shot%202018-02-23%20at%209.27.10%20PM.png</p>

<p>Once you get to this point you will need to set up your <a href="https://coinhive.com">Coinhive</a> account. While doing that  you should also have your Monero wallet address handy to set up where your payments will go to.</p>
<p>https://steemitimages.com/DQmcZGwijADU5Widvp6Uci5Do8Z22Hd9zre91CavVRidryP/Screen%20Shot%202018-02-23%20at%209.29.19%20PM.png</p>
<p>https://steemitimages.com/DQmZifd26JAymwoyMLYjvFi9f1HXuDQBYHXtWPKpRCgoXiZ/Screen%20Shot%202018-02-23%20at%209.35.35%20PM.png</p>
<p>Once you have your keys you can then return and put them in the Coin-miner settings. After doing that and saving you're set up! Pretty easy.</p>
<p>Back to the Coinhive site, you need to set up your Monero wallet address in the "Payments" section. You have time to do this though because unless you have a high traffic site you probably won't be earring the minimum payout amount for a while.</p>
<p>https://steemitimages.com/DQmZPE4iqqGfn5YeByhnRGmTJvUSmhjxhuXvY6n1FVUiRxU/Screen%20Shot%202018-02-23%20at%209.31.33%20PM.png</p>
<p>Another function of the Coinhive site is it will track mining data for you. Coinminer will too, but it's more crude than Coinhive.</p>
<p>https://steemitimages.com/DQmdzmSE2uRX7fx3sjDTDAs1Yx2obUxLPrCf4XeEaUGLxsU/Screen%20Shot%202018-02-23%20at%209.31.52%20PM.png</p>
<p>I'm testing this out to see how people react to it. If I get too many complaints I'll shut it off, but I think it is a great alternative to advertising. As long as POW is around I can see it becoming more popular. It sure beats all those pop-up ads and other BS advertising we are bombarded with. 

<h4>Check it out on my site https://cryptonighttokyo.com . What do you think?</h4>
<p>Thanks for reading!</p>
<p>https://steemitimages.com/DQmVNTGEPmxtqBFyeafAhoaHEWTkBbkm27w68798yUXPo5H/BC%20Spacer%20Crop.png</p>
<hr />
<center><h4>I am part of Steemit Blogger Center.</h4>
<h4>Steemit Blogger Central is building communities and empowering Leaders.</h4></center>
<p><center>https://steemitimages.com/DQmcZRVdmm5nhcx35fU8KFkBh77ax97usif8jhaNeTLESxt/BLOGGER%20CENTRAL%20ROUND%20Small%203%20.png</center></p>
<ul>
  <li><a href="https://steemit.com/@rt395">Follow me for stories on Japan, Gems &amp; Minerals, Crypto, DnB, Cali &amp; living life!</a></li>
  <li>Follow my wonderful wife for her adventures! <a href="https://steemit.com/@tokyowomanslife">@tokyowomanslife</a></li>
</ul>
<p><center><a href="https://discord.gg/TeX8QBz" rel="nofollow noopener"><img src="https://steemitimages.com/DQmZE7uhQu8126QUsxGTrYS735YBSQoyfGqWRLd3t443uYr/Socalsteemitbanner2.jpg" alt="Socalsteemitbanner2.jpg" /></a></center></p>
<p>Thanks for reading!</p>
<h3>Our Steemit Blogger Central Discord community is here:</h3>
<p>https://steemitimages.com/DQmcNX4TWJraxLgaBSYCrx84T1skUi4ftXZE1AnLEK5sqB2/Small%20Discord%20Logo.png</p>
<p>Discord:<br>
<a href="https://discord.gg/e5XFZKa">https://discord.gg/e5XFZKa</a></p>
</html>
πŸ‘  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authorrt395
permlinkexperimenting-with-coinhive-javascript-monero-miner-for-wordpress
categoryjapan
json_metadata{"tags":["japan","crypto","mining","music","cryptocurrency"],"image":["https://steemitimages.com/DQmaMWCQihPfBfWoRqDHthYFF1ThEDu22cLZaxgbGRt1vLu/Screen%20Shot%202018-02-23%20at%208.03.51%20PM.png","https://steemitimages.com/DQmcKJsMChgXA34HUTh9HXWKNwXqdkiFk5GrXo9zXzZps5d/Screen%20Shot%202018-02-23%20at%209.27.10%20PM.png","https://steemitimages.com/DQmcZGwijADU5Widvp6Uci5Do8Z22Hd9zre91CavVRidryP/Screen%20Shot%202018-02-23%20at%209.29.19%20PM.png","https://steemitimages.com/DQmZifd26JAymwoyMLYjvFi9f1HXuDQBYHXtWPKpRCgoXiZ/Screen%20Shot%202018-02-23%20at%209.35.35%20PM.png","https://steemitimages.com/DQmZPE4iqqGfn5YeByhnRGmTJvUSmhjxhuXvY6n1FVUiRxU/Screen%20Shot%202018-02-23%20at%209.31.33%20PM.png","https://steemitimages.com/DQmdzmSE2uRX7fx3sjDTDAs1Yx2obUxLPrCf4XeEaUGLxsU/Screen%20Shot%202018-02-23%20at%209.31.52%20PM.png","https://steemitimages.com/DQmVNTGEPmxtqBFyeafAhoaHEWTkBbkm27w68798yUXPo5H/BC%20Spacer%20Crop.png","https://steemitimages.com/DQmcZRVdmm5nhcx35fU8KFkBh77ax97usif8jhaNeTLESxt/BLOGGER%20CENTRAL%20ROUND%20Small%203%20.png","https://steemitimages.com/DQmZE7uhQu8126QUsxGTrYS735YBSQoyfGqWRLd3t443uYr/Socalsteemitbanner2.jpg","https://steemitimages.com/DQmcNX4TWJraxLgaBSYCrx84T1skUi4ftXZE1AnLEK5sqB2/Small%20Discord%20Logo.png"],"links":["https://steemit.com/japan/@rt395/mvamxvi8","https://wordpress.org/plugins/coin-miner/","https://coinhive.com","https://cryptonighttokyo.com","https://steemit.com/@rt395","https://steemit.com/@tokyowomanslife","https://discord.gg/TeX8QBz","https://discord.gg/e5XFZKa"],"app":"steemit/0.1","format":"html"}
created2018-02-24 05:54:54
last_update2018-02-24 05:54:54
depth0
children12
last_payout2018-03-03 05:54:54
cashout_time1969-12-31 23:59:59
total_payout_value23.894 HBD
curator_payout_value3.582 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length4,700
author_reputation238,764,427,382,944
root_title"Experimenting With CoinHive Javascript Monero Miner For Wordpress"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id40,016,511
net_rshares5,078,279,975,491
author_curate_reward""
vote details (43)
@appreciator ·
<p>This post has received gratitude of 1.76 % from @appreciator thanks to: @rt395.</p>
properties (22)
authorappreciator
permlinkre-rt395-experimenting-with-coinhive-javascript-monero-miner-for-wordpress-20180224t061027530z
categoryjapan
json_metadata{"tags":["japan"],"app":"drotto/0.0.3"}
created2018-02-24 06:10:27
last_update2018-02-24 06:10:27
depth1
children0
last_payout2018-03-03 06:10:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length87
author_reputation55,801,543,512,306
root_title"Experimenting With CoinHive Javascript Monero Miner For Wordpress"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id40,019,043
net_rshares0
@bertaveira ·
I have also experimented on my website. I think it is the future of web revenue. Imagine a world where instead of annoying ads and popups you would mine a small amount on every website. Unfortunately most people disagree and can only see the hacks and bad side of it.
properties (22)
authorbertaveira
permlinkre-rt395-experimenting-with-coinhive-javascript-monero-miner-for-wordpress-20180224t215441875z
categoryjapan
json_metadata{"tags":["japan"],"app":"steemit/0.1"}
created2018-02-24 21:54:42
last_update2018-02-24 21:54:42
depth1
children1
last_payout2018-03-03 21:54:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length267
author_reputation485,799,447
root_title"Experimenting With CoinHive Javascript Monero Miner For Wordpress"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id40,189,040
net_rshares0
@rt395 · (edited)
Ya, the problem was it started out nefarious where guys were hijacking your machine and not letting you opt in/out. It's gonna take a while for people to trust the monetization of websites by mining, but I think it will happen.

BTW, have you made any $$??
properties (22)
authorrt395
permlinkre-bertaveira-re-rt395-experimenting-with-coinhive-javascript-monero-miner-for-wordpress-20180225t013959726z
categoryjapan
json_metadata{"tags":["japan"],"app":"steemit/0.1"}
created2018-02-25 01:40:00
last_update2018-02-25 01:41:39
depth2
children0
last_payout2018-03-04 01:40:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length256
author_reputation238,764,427,382,944
root_title"Experimenting With CoinHive Javascript Monero Miner For Wordpress"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id40,221,998
net_rshares0
@blinkz ·
Thats a nice idea about the site mining suff well am a dev you feel free to contact me when you have a problem in dev your site.
properties (22)
authorblinkz
permlinkre-rt395-experimenting-with-coinhive-javascript-monero-miner-for-wordpress-20180224t070630223z
categoryjapan
json_metadata{"tags":["japan"],"app":"steemit/0.1"}
created2018-02-24 07:06:42
last_update2018-02-24 07:06:42
depth1
children1
last_payout2018-03-03 07:06:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length128
author_reputation-17,332,661,397
root_title"Experimenting With CoinHive Javascript Monero Miner For Wordpress"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id40,028,630
net_rshares0
@rt395 ·
Thanks @blinkz. I can handle most stuff, it's just a matter of if I have time or want to put in the effort.
properties (22)
authorrt395
permlinkre-blinkz-re-rt395-experimenting-with-coinhive-javascript-monero-miner-for-wordpress-20180227t005642161z
categoryjapan
json_metadata{"tags":["japan"],"users":["blinkz"],"app":"steemit/0.1"}
created2018-02-27 00:56:42
last_update2018-02-27 00:56:42
depth2
children0
last_payout2018-03-06 00:56:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length107
author_reputation238,764,427,382,944
root_title"Experimenting With CoinHive Javascript Monero Miner For Wordpress"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id40,731,563
net_rshares0
@kjnk ·
$0.19
The javascript monero miner is interesting, you hardly get any monero from it though, even with my high traffic website
πŸ‘  
properties (23)
authorkjnk
permlinkre-rt395-experimenting-with-coinhive-javascript-monero-miner-for-wordpress-20180224t074012889z
categoryjapan
json_metadata{"tags":["japan"],"app":"steemit/0.1"}
created2018-02-24 07:40:12
last_update2018-02-24 07:40:12
depth1
children1
last_payout2018-03-03 07:40:12
cashout_time1969-12-31 23:59:59
total_payout_value0.146 HBD
curator_payout_value0.048 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length119
author_reputation670,294,526,884
root_title"Experimenting With CoinHive Javascript Monero Miner For Wordpress"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id40,034,324
net_rshares36,571,468,369
author_curate_reward""
vote details (1)
@rt395 ·
Are you letting the users opt out/in? I'd like to see what the % is of people who opt in.
properties (22)
authorrt395
permlinkre-kjnk-re-rt395-experimenting-with-coinhive-javascript-monero-miner-for-wordpress-20180224t152342630z
categoryjapan
json_metadata{"tags":["japan"],"app":"steemit/0.1"}
created2018-02-24 15:23:42
last_update2018-02-24 15:23:42
depth2
children0
last_payout2018-03-03 15:23:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length89
author_reputation238,764,427,382,944
root_title"Experimenting With CoinHive Javascript Monero Miner For Wordpress"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id40,116,942
net_rshares0
@postpromoter ·
re-rt395-experimenting-with-coinhive-javascript-monero-miner-for-wordpress-20180224t061700212z
You got a 0.97% upvote from @postpromoter courtesy of @rt395!

Want to promote your posts too? Check out the [Steem Bot Tracker website](https://steembottracker.com) for more info. If you would like to support the development of @postpromoter and the bot tracker please [vote for @yabapmatt for witness!](https://v2.steemconnect.com/sign/account-witness-vote?witness=yabapmatt&approve=1)
properties (22)
authorpostpromoter
permlinkre-rt395-experimenting-with-coinhive-javascript-monero-miner-for-wordpress-20180224t061700212z
categoryjapan
json_metadata{"app":"postpromoter/1.8.6"}
created2018-02-24 06:17:00
last_update2018-02-24 06:17:00
depth1
children0
last_payout2018-03-03 06:17:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length388
author_reputation12,722,616,650,811
root_title"Experimenting With CoinHive Javascript Monero Miner For Wordpress"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id40,020,070
net_rshares0
@spiritualmax ·
Caring about your visitors, something that is definitely holding back guys like us... no warnings would net much more income :P
properties (22)
authorspiritualmax
permlinkre-rt395-experimenting-with-coinhive-javascript-monero-miner-for-wordpress-20180224t203922271z
categoryjapan
json_metadata{"tags":["japan"],"app":"steemit/0.1"}
created2018-02-24 20:39:21
last_update2018-02-24 20:39:21
depth1
children1
last_payout2018-03-03 20:39:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length127
author_reputation25,078,515,289,162
root_title"Experimenting With CoinHive Javascript Monero Miner For Wordpress"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id40,177,649
net_rshares0
@rt395 ·
Believe me the temptation is burning me up, but I value my visitors. I can throw the miners on my bitcoin sites 😎.
properties (22)
authorrt395
permlinkre-spiritualmax-re-rt395-experimenting-with-coinhive-javascript-monero-miner-for-wordpress-20180225t013428465z
categoryjapan
json_metadata{"tags":["japan"],"app":"steemit/0.1"}
created2018-02-25 01:34:27
last_update2018-02-25 01:34:27
depth2
children0
last_payout2018-03-04 01:34:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length114
author_reputation238,764,427,382,944
root_title"Experimenting With CoinHive Javascript Monero Miner For Wordpress"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id40,221,172
net_rshares0
@toshi88 ·
Waw it’s nice idea for mining .Maybe I will try it too, but I do t have really traffic πŸ˜€ so i can mine allone on my site. Hihi

I think that for people how are not in the crypto world and don’t know what is mining , it can looks like something scary . For crypto peopel is more understandable and can working good! 

I wish it’s working with your new Project.
properties (22)
authortoshi88
permlinkre-rt395-experimenting-with-coinhive-javascript-monero-miner-for-wordpress-20180224t224641440z
categoryjapan
json_metadata{"tags":["japan"],"app":"steemit/0.1"}
created2018-02-24 22:46:42
last_update2018-02-24 22:46:42
depth1
children1
last_payout2018-03-03 22:46:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length359
author_reputation1,990,124,862,120
root_title"Experimenting With CoinHive Javascript Monero Miner For Wordpress"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id40,196,489
net_rshares0
@rt395 · (edited)
But, most people who visit my site will know about crypto to some degree. I hope it works too!
properties (22)
authorrt395
permlinkre-toshi88-re-rt395-experimenting-with-coinhive-javascript-monero-miner-for-wordpress-20180225t014306285z
categoryjapan
json_metadata{"tags":["japan"],"app":"steemit/0.1"}
created2018-02-25 01:43:06
last_update2018-02-25 01:43:24
depth2
children0
last_payout2018-03-04 01:43:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length94
author_reputation238,764,427,382,944
root_title"Experimenting With CoinHive Javascript Monero Miner For Wordpress"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id40,222,443
net_rshares0