В четири стъпки
- Изберете уиджет: калкулатори, класации, цени на монети или инструменти за магазини.
- Настройте го: монета или майнер, светла или тъмна тема, език. Прегледът показва точно какво ще видят посетителите ви.
- Натиснете „Копирай кода“.
- Поставете кода в страницата там, където трябва да се появи уиджетът (вижте платформата си по-долу), и публикувайте.
Безплатни уиджети за копаене →
Къде да поставите кода
WordPressРедактирайте страницата, добавете блок „Custom HTML“, поставете кода и натиснете „Update“.
Shopify„Online Store → Themes → Customize“: добавете секция „Custom Liquid“ и поставете кода. В описание на продукт първо превключете към HTML изглед (<>). След това запазете.
Wix„Add → Embed Code → Embed HTML“, изберете „Code“, поставете и натиснете „Update“. Направете полето толкова високо, колкото е стойността height в кода.
SquarespaceДобавете блок „Code“, поставете кода, оставете „Display source“ изключено и запазете.
HTMLВсеки друг сайт: поставете кода в HTML на страницата там, където трябва да се появи уиджетът.
Ето как изглежда кодът (вашият идва от генератора на уиджети):
<iframe src="https://www.asicprofit.com/widget/BTC?hashrate=200&unit=TH&consumption=3500" width="100%" height="560" frameborder="0" loading="lazy"></iframe>
Добре е да знаете
- Числата се обновяват сами: цени и трудност на всеки 15 минути. Без поддръжка.
- Ширината се приспособява към мястото на страницата. Ако долната част е отрязана, увеличете числото в height="…" в кода.
- Изберете тъмната тема за тъмен сайт и който и да е от 32 езика.
- Уиджетите се зареждат едва когато се покажат на екрана и не задават бисквитки, така че не забавят страницата и не изискват банер за бисквитки.
- Моля, запазете реда „Powered by AsicProfit“: благодарение на него уиджетите остават безплатни.
- Магазини: след като магазинът ви бъде проверен, значката за проверен търговец ви очаква в профила ви, на страницата на магазина.
Справочник на опциите
Всяка опция е параметър в адреса на уиджета (src="…"). Генераторите ги задават вместо вас; можете да ги промените и ръчно.
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). |
Нужна ви е помощ? Пишете ни и ще го настроим заедно: info@asicprofit.com