Giá điện của bạnGiá điện: $0.0364/kWh USD

Widget đào coin miễn phí / Cách thêm widget vào trang web của bạn

Cách thêm widget vào trang web của bạn

Tất cả widget của chúng tôi đều miễn phí. Chọn một widget, thiết lập, sao chép một dòng mã và dán vào trang của bạn. Widget tự cập nhật giá và độ khó theo thời gian thực.

Bốn bước

  1. Chọn widget: công cụ tính, bảng xếp hạng, giá coin hoặc công cụ cho cửa hàng.
  2. Thiết lập: coin hoặc máy đào, giao diện sáng hoặc tối, ngôn ngữ. Bản xem trước hiển thị đúng những gì khách truy cập sẽ thấy.
  3. Nhấn “Sao chép mã”.
  4. Dán mã vào trang tại vị trí muốn hiển thị widget (xem nền tảng của bạn bên dưới) rồi xuất bản.

Widget đào coin miễn phí →

Dán mã ở đâu

WordPressChỉnh sửa trang, thêm khối “Custom HTML”, dán mã và nhấn “Update”.
Shopify“Online Store → Themes → Customize”: thêm mục “Custom Liquid” và dán mã. Trong mô tả sản phẩm, hãy chuyển sang chế độ xem HTML (<>) trước. Sau đó lưu lại.
Wix“Add → Embed Code → Embed HTML”, chọn “Code”, dán mã và nhấn “Update”. Đặt chiều cao khung bằng giá trị height trong mã.
SquarespaceThêm khối “Code”, dán mã, để tắt “Display source” rồi lưu.
HTMLMọi trang web khác: dán mã vào HTML của trang tại vị trí muốn hiển thị widget.

Mã trông như sau (mã của bạn lấy từ trình tạo widget):

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

Cần biết

  • Số liệu tự cập nhật: giá coin và độ khó mỗi 15 phút. Không cần bảo trì.
  • Chiều rộng tự điều chỉnh theo không gian trên trang. Nếu phần dưới bị cắt, hãy tăng số height="…" trong mã.
  • Chọn giao diện tối cho trang web tối, cùng bất kỳ ngôn ngữ nào trong 32 ngôn ngữ.
  • Widget chỉ tải khi được cuộn vào tầm nhìn và không đặt cookie, nên không làm chậm trang và không cần banner cookie.
  • Vui lòng giữ dòng “Powered by AsicProfit”: nhờ đó các widget luôn miễn phí.
  • Cửa hàng: khi cửa hàng của bạn được xác minh, huy hiệu người bán đã xác minh sẽ có sẵn trong tài khoản, trên trang cửa hàng của bạn.

Tham khảo tùy chọn

Mỗi tùy chọn là một tham số trong địa chỉ của widget (src="…"). Trình tạo sẽ thiết lập giúp bạn; bạn cũng có thể sửa thủ công.

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).

Cần trợ giúp? Hãy viết cho chúng tôi, chúng tôi sẽ cùng bạn thiết lập: info@asicprofit.com