En quatre étapes
- Choisissez un widget : calculateurs, classements, cours des cryptos ou outils pour les boutiques.
- Configurez-le : crypto ou mineur, thème clair ou sombre, langue. L'aperçu montre exactement ce que verront vos visiteurs.
- Cliquez sur « Copier le code ».
- Collez le code dans votre page, là où le widget doit apparaître (voir votre plateforme ci-dessous), puis publiez.
Widgets de minage gratuits →
Où coller le code
WordPressModifiez la page, ajoutez un bloc « Custom HTML », collez le code et cliquez sur « Update ».
Shopify« Online Store → Themes → Customize » : ajoutez une section « Custom Liquid » et collez le code. Dans une description de produit, passez d'abord en vue HTML (<>). Puis enregistrez.
Wix« Add → Embed Code → Embed HTML », choisissez « Code », collez et cliquez sur « Update ». Donnez au cadre la même hauteur que la valeur height du code.
SquarespaceAjoutez un bloc « Code », collez le code, laissez « Display source » désactivé et enregistrez.
HTMLTout autre site : collez le code dans le HTML de la page, là où le widget doit apparaître.
Voici à quoi ressemble le code (le vôtre vient du générateur de widget) :
<iframe src="https://www.asicprofit.com/widget/BTC?hashrate=200&unit=TH&consumption=3500" width="100%" height="560" frameborder="0" loading="lazy"></iframe>
Bon à savoir
- Les chiffres se mettent à jour tout seuls : cours et difficulté toutes les 15 minutes. Aucune maintenance.
- La largeur s'adapte à l'espace de votre page. Si le bas est coupé, augmentez la valeur height="…" dans le code.
- Choisissez le thème sombre pour un site sombre, et l'une des 32 langues.
- Les widgets ne se chargent qu'une fois visibles à l'écran et ne déposent aucun cookie : ils ne ralentissent pas votre page et ne nécessitent pas de bandeau cookies.
- Merci de conserver la ligne « Powered by AsicProfit » : c'est elle qui permet aux widgets de rester gratuits.
- Boutiques : une fois votre boutique vérifiée, votre badge de vendeur vérifié vous attend dans votre compte, sur la page de votre boutique.
Référence des options
Chaque option est un paramètre de l'adresse du widget (src="…"). Les générateurs les définissent pour vous ; vous pouvez aussi les modifier à la main.
Mining calculators: /widget/tool/{profitability | roi | power-cost | hosting-vs-own | site-planner | solar | heat-reuse}
kwh | 0.06 | Starting electricity price in USD per kWh (left out or 0: the cheapest hosting rate listed on AsicProfit). |
months | 24 | Period the result is worked out for. |
currency | USD, EUR, GBP, CZK, … | Currency of the amounts. |
Calculator: /widget/{COIN} · Profit chart: /widget/{COIN}/graph
hashrate | 100 | The machine's hashrate, a number. |
unit | H, kH, MH, GH, TH, PH | Unit of the hashrate (default: the coin's usual unit). |
consumption | 3500 | Power use in watts. |
electricity | 0.06 | Electricity price in USD per kWh (left out or 0: the cheapest hosting rate listed on AsicProfit). |
fee | 0 | Pool fee in %. |
currency | USD, EUR, GBP, CZK, … | Currency the results are shown in. |
machinePrice | 1599 | Price of the machine in USD: shows how many months until it pays for itself. |
showHashrateField, showConsumptionField, showFeeField | true, false | Show or hide that input. |
disabledHashrate, disabledPower, disabledElectricity, disabledFee | true, false | Lock that input so visitors can't change it (e.g. your machine's hashrate). |
dateRange | 1_month, 3_months, 6_months, 1_year, all | Chart only: the period shown first. |
showDateRanges | true, false | Chart only: show the period buttons. |
One miner: /widget/miner/{brand}/{model}
electricity | 0.06 | Starting electricity price (left out or 0: the cheapest hosting rate listed); visitors can change it and the number of units. |
Top miners: /widget/top
kind | asic, gpu, cpu | Which devices to rank. |
algo | sha-256, scrypt, kheavyhash, … | Only one algorithm (leave out for all). |
n | 3 – 25 | How many rows. |
electricity | 0.06 | Electricity price used for the profit (left out or 0: the cheapest hosting rate listed). |
Hashrate converter: /widget/hashrate-converter
value | 200 | Starting number. |
unit | H, kH, MH, GH, TH, PH, EH, ZH | Its unit. |
Crypto converter: /widget/crypto-converter
coin | BTC, KAS, LTC, … | Starting coin. |
amount | 1 | Starting amount. |
Halving countdown: /widget/halving
coin | BTC, BCH, LTC, ZEC, HNS | Which coin's next halving. |
Coin prices: /widget/ticker
coins | BTC,LTC,DOGE,KAS | Which coins, comma-separated (up to 12). |
layout | row, list | Chips in a row, or a list with more detail (set height to about 480). |
Store miner list: /widget/miner-list/{store}
electricity | 0.06 | Electricity price used for the profit (left out or 0: the cheapest hosting rate listed). |
Verified seller badge: /badge/{store}.svg (an image, not an iframe)
style | light, dark, compact | Look of the badge. |
Every iframe widget
theme | light, dark | Colours to match your site. |
lang | en, de, es, fr, cs, zh-Hans-CN, … | Language of the widget (32 languages). |
Besoin d'aide ? Écrivez-nous et nous le configurerons avec vous : info@asicprofit.com