A customizable cryptocurrency mining widget for your website, supporting various coins including bitcoin, ethereum, litecoin, dash, monero and all of the below:
Here is an example of a bitcoin widget and an ethereum widget.
Here is an example of a bitcoin widget and an ethereum widget results.
<!-- CryptoRival Calculator Widget BEGIN -->
<script type="text/javascript" src="https://static.cryptorival.com/js/calcwidget.js"></script>
<a id="cr-copyright" href="https://cryptorival.com/" target="_blank" rel="nofollow">Powered by CryptoRival</a>
<script type="text/javascript">
showCalc('bitcoin', '500', false, '0', 'ff7f24', 'ff7f24', 'ff7f24', '4e9f15', '09c', 'f0ad4e', 'd9534f', 'f5f5f5', 'eee');
</script>
<!-- CryptoRival Calculator Widget END -->
Below is all of the options you can use to customize the widget. Change the variables within showCalc to your chosen settings.
showCalc(calc, width, autosize, borderwidth, bordercolor, calcButtonColor, backButtonColor, dailyColor, weeklyColor, monthlyColor, yearlyColor, backColor, addonColor);
This allows you to choose which coin the mining widget should display, your choices are:
- 'bitcoin'
- 'dash'
- 'ethereum'
- 'ethereumclassic'
- 'litecoin'
- 'monero'
- 'zcash'
- 'pascal'
- 'siacoin'
- 'bitconnectcoin'
- 'ubiq'
- 'doge'
- 'bitcoincash'
- 'bytecoin'
- 'komodo'
- 'metaverseetp'
- 'bitcoingold'
- 'aeon'
- 'gamecredits'
- 'gulden'
- 'peercoin'
- 'startcoin'
- 'expanse'
- 'digitalnote'
- 'zclassic'
- 'monacoin'
- 'zencash'
- 'einsteinium'
- 'viacoin'
- 'feathercoin'
- 'mooncoin'
- 'bitsend'
- 'musicoin'
- 'bitcoinz'
- 'sumokoin'
- 'hush'
- 'cannabiscoin'
- 'dnotes'
- 'ellaism'
- 'dinastycoin'
- 'linx'
- 'worldcoin'
- 'zetacoin'
- 'bata'
- 'influxcoin'
- 'phoenixcoin'
- 'onix'
- 'pascallite'
Set the widget width in pixels, this is ignored if autosize is set to true
- '500'
Whether the widget will autosize to 100%
- true
- false
Set the border width in pixels, no border will show if set to '0'
- '1'
Set the border hex code color. This is ignored if 'borderwidth' is set to 0
- 'ff7f24'
Set the calculate button hex code color
- 'ff7f24'
Set the back button hex code color
- 'ff7f24'
Set the daily tab of the results screen accent hex code color
- 'ff7f24'
Set the weekly tab of the results screen accent hex code color
- '4e9f15'
Set the monthly tab of the results screen accent hex code color
- '0099cc'
Set the yearly tab of the results screen accent hex code color
- 'd9534f'
Set the background hex code color of the entire widget
- 'f5f5f5'
Set the background hex code color of the symbols next to inputs, i.e $, % and hashrate dropdown
- 'eeeeee'
Take a look at our website for an online tool to help customize your widget and see how it will appear. https://cryptorival.com/widgets/