Overview

The Donate Widget allows the visitors of your website to voluntarily donate their CPU with an intuitive UI.

Please disable Adblock!

How to use it

Place the following snippet in your Website's HTML source code.

<script src="https://minero.cc/lib/donate-widget.min.js" async></script>
<div class="minero-donate-widget"
     style="width: 150px; height: 80px"
     data-key="YOUR_SITE_KEY"
     data-autostart="true"
     data-speed="low">
  <em>Please disable Adblock!</em>
</div>

Parameters

Parameters are passed to the Donate Widget using HTML attributes of the form data-{parameter name}.

data-key Required. Your public site key. Find it in your dashboard.
data-autostart Optional. Default is false. Whether to start mining right away.
data-speed Optional. Controls the hashing speed. Possible values are low and high. Default is low.
data-threads Optional. See .setNumThreads(threads).
data-user Optional. For advanced use only. The user name to which the hashes will be credited to. See Minero.User.