무료 채굴 위젯 / 내 사이트에 위젯을 추가하는 방법
내 사이트에 위젯을 추가하는 방법
모든 위젯은 무료입니다. 위젯을 고르고 설정한 뒤 코드 한 줄을 복사해 페이지에 붙여 넣으세요. 실시간 가격과 난이도로 자동 업데이트됩니다.
4단계로 완료
- 위젯 선택: 계산기, 순위, 코인 가격 또는 상점용 도구.
- 설정: 코인 또는 채굴기, 라이트 또는 다크 테마, 언어. 미리보기에 방문자에게 보일 모습이 그대로 표시됩니다.
- “코드 복사”를 누르세요.
- 위젯을 표시할 위치에 코드를 붙여 넣고(아래 플랫폼별 안내 참고) 게시하세요.
코드를 붙여 넣을 위치
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="…")의 매개변수입니다. 빌더가 자동으로 설정하며, 직접 수정할 수도 있습니다.
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 (default: the site's default rate). |
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; 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. |
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 420). |
Store miner list: /widget/miner-list/{store}
electricity | 0.06 | Electricity price used for the profit. |
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