Din elElpris: $0.0364/kWh USD

Gratis miningwidgetar / Så lägger du till en widget på din webbplats

Så lägger du till en widget på din webbplats

Alla våra widgetar är gratis. Välj en, ställ in den, kopiera en rad kod och klistra in den på din sida. Den håller sig själv uppdaterad med livepriser och difficulty.

I fyra steg

  1. Välj en widget: kalkylatorer, topplistor, myntpriser eller verktyg för butiker.
  2. Ställ in den: mynt eller miner, ljust eller mörkt tema, språk. Förhandsvisningen visar exakt vad dina besökare ser.
  3. Klicka på ”Kopiera kod”.
  4. Klistra in koden på sidan där widgeten ska visas (se din plattform nedan) och publicera.

Gratis miningwidgetar →

Var du klistrar in koden

WordPressRedigera sidan, lägg till ett ”Custom HTML”-block, klistra in koden och klicka på ”Update”.
Shopify”Online Store → Themes → Customize”: lägg till en ”Custom Liquid”-sektion och klistra in koden. I en produktbeskrivning byter du först till HTML-vyn (<>). Spara sedan.
Wix”Add → Embed Code → Embed HTML”, välj ”Code”, klistra in och klicka på ”Update”. Gör rutan lika hög som height-värdet i koden.
SquarespaceLägg till ett ”Code”-block, klistra in koden, låt ”Display source” vara av och spara.
HTMLAlla andra webbplatser: klistra in koden i sidans HTML där widgeten ska visas.

Så här ser koden ut (din får du från widgetbyggaren):

<iframe src="https://www.asicprofit.com/widget/BTC?hashrate=200&unit=TH&consumption=3500" width="100%" height="560" frameborder="0" loading="lazy"></iframe>

Bra att veta

  • Siffrorna uppdateras av sig själva: myntpriser och difficulty var 15:e minut. Inget underhåll.
  • Bredden anpassar sig efter utrymmet på sidan. Om nederkanten klipps av, höj talet i height="…" i koden.
  • Välj det mörka temat för en mörk webbplats, och vilket som helst av 32 språk.
  • Widgetarna laddas först när de scrollas in i bild och sätter inga cookies, så de gör inte sidan långsammare och kräver ingen cookiebanner.
  • Behåll gärna raden ”Powered by AsicProfit”: det är den som håller widgetarna gratis.
  • Butiker: när din butik är verifierad väntar ditt märke för verifierad säljare i ditt konto, på butikens sida.

Alla alternativ

Varje alternativ är en parameter i widgetens adress (src="…"). Byggarna ställer in dem åt dig; du kan också ändra dem för hand.

Mining calculators: /widget/tool/{profitability | roi | power-cost | hosting-vs-own | site-planner | solar | heat-reuse}

kwh0.06Starting electricity price in USD per kWh (left out or 0: the cheapest hosting rate listed on AsicProfit).
months24Period the result is worked out for.
currencyUSD, EUR, GBP, CZK, …Currency of the amounts.

Calculator: /widget/{COIN} · Profit chart: /widget/{COIN}/graph

hashrate100The machine's hashrate, a number.
unitH, kH, MH, GH, TH, PHUnit of the hashrate (default: the coin's usual unit).
consumption3500Power use in watts.
electricity0.06Electricity price in USD per kWh (left out or 0: the cheapest hosting rate listed on AsicProfit).
fee0Pool fee in %.
currencyUSD, EUR, GBP, CZK, …Currency the results are shown in.
machinePrice1599Price of the machine in USD: shows how many months until it pays for itself.
showHashrateField, showConsumptionField, showFeeFieldtrue, falseShow or hide that input.
disabledHashrate, disabledPower, disabledElectricity, disabledFeetrue, falseLock that input so visitors can't change it (e.g. your machine's hashrate).
dateRange1_month, 3_months, 6_months, 1_year, allChart only: the period shown first.
showDateRangestrue, falseChart only: show the period buttons.

One miner: /widget/miner/{brand}/{model}

electricity0.06Starting electricity price (left out or 0: the cheapest hosting rate listed); visitors can change it and the number of units.

Top miners: /widget/top

kindasic, gpu, cpuWhich devices to rank.
algosha-256, scrypt, kheavyhash, …Only one algorithm (leave out for all).
n3 – 25How many rows.
electricity0.06Electricity price used for the profit (left out or 0: the cheapest hosting rate listed).

Hashrate converter: /widget/hashrate-converter

value200Starting number.
unitH, kH, MH, GH, TH, PH, EH, ZHIts unit.

Crypto converter: /widget/crypto-converter

coinBTC, KAS, LTC, …Starting coin.
amount1Starting amount.

Halving countdown: /widget/halving

coinBTC, BCH, LTC, ZEC, HNSWhich coin's next halving.

Coin prices: /widget/ticker

coinsBTC,LTC,DOGE,KASWhich coins, comma-separated (up to 12).
layoutrow, listChips in a row, or a list with more detail (set height to about 480).

Store miner list: /widget/miner-list/{store}

electricity0.06Electricity 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)

stylelight, dark, compactLook of the badge.

Every iframe widget

themelight, darkColours to match your site.
langen, de, es, fr, cs, zh-Hans-CN, …Language of the widget (32 languages).

Behöver du hjälp? Skriv till oss så ställer vi in det tillsammans: info@asicprofit.com