Bộ tạo Ethereum Payment mã QR: các lỗi thường gặp và cách khắc phục
Các kiểu lỗi thực sự xảy ra, chúng trông thế nào trong đầu ra, và cách sửa cụ thể.
Cách dùng
- Trước hết kiểm tra bảng mã đầu vào — một BOM thừa hoặc nội dung dán không phải UTF-8 sẽ làm hỏng kết quả trước khi công cụ chạy.
- Tìm hiện tượng cắt xén âm thầm: nếu độ dài đầu ra tròn một cách đáng ngờ, nghĩa là đã có gì đó bị cắt.
- Xác nhận tùy chọn bạn đổi đúng là thứ tác vụ cần; giá trị mặc định bị bỏ quên là nguyên nhân phổ biến nhất của kết quả nghe hợp lý nhưng sai.
- Chạy lại với đầu vào tối thiểu mà bạn tự kiểm chứng được, rồi đưa dữ liệu thật trở lại.
Ví dụ
EIP-681 ethereum: URI; the address must be 0x plus exactly 40 hex characters.
Đầu vào
0x742d35Cc6634C0532925a3b844Bc454e4438f44e
Đầu ra — Kết quả
<div class="qr-out">
<div class="qr-preview"><img src="data:image/png;base64,iVBORw0KGgo=" alt="QR code" width="256" height="256" style="max-width:100%;height:auto;image-rendering:pixelated"></div>
<div class="qr-meta">
<table class="tb-table"><tbody>
<tr><th>Detected type</th><td>Ethereum</td></tr>
<tr><th>Version</th><td>5 (37×37 modules)</td></tr>
<tr><th>Error correction</th><td>M</td></tr>
<tr><th>Quiet zone</th><td>4 module(s)</td></tr>
<tr><th>Payload size</th><td>77 bytes (UTF-8)</td></tr>
<tr><th>Contrast</th><td>21.00:1</td></tr>
<tr><th>Validation</th><td class="bad">WARNING</td></tr>
<tr><th>Render → decode self-test</th><td class="bad">FAILED (decoded ≠ payload)</td></tr>
</tbody></table>
<table class="tb-table"><tbody><tr><th>address</th><td>0x742d35Cc6634C0532925a3b844Bc454e4438f44e</td></tr><tr><th>value</th><td>1000000000000000000</td></tr></tbody></table>
</div>
</div>
<div class="qr-payload"><strong>Payload</strong><pre class="ex-io">ethereum:0x742d35Cc6634C0532925a3b844Bc454e4438f44e?value=1000000000000000000</pre></div>
<div class="qr-issues"><p class="">⚠ Address uses mixed case, which implies an EIP-55 checksum; verify it before accepting payment.</p></div>
<div class="qr-warn"><p>⚠ Address uses mixed case, which implies an EIP-55 checksum; verify it before accepting payment.</p></div>
<div class="tb-btns qr-actions">
<button class="btn btn-primary" data-qr-dl="png">Download PNG</button>
<button class="btn" data-qr-dl="svg">Download SVG</button>
<button class="btn" data-qr-copy="payload">Copy payload</button>
<button class="btn" data-qr-copy="svg">Copy SVG</button>
<button class="btn" data-qr-copy="image">Copy image</button>
<button class="btn" data-qr-print>Print</button>
</div>
<p class="ex-note">Generated and verified entirely in your browser. No data is uploaded.</p>
Chạy
Mô tả
Generate an EIP-681 ethereum: URI QR code with address, value and gas limit, validating the 0x + 40 hex format.
Công cụ liên quan
Bộ tạo mã QRCreate QR codes for text, URLs, Wi-Fi, vCard, email, phone, SMS, geo, calendar, WhatsApp, Telegram, Bitcoin, Ethereum, UPI and JSON, with error correction, quiet zone, colours and PNG/SVG export.Bộ tạo URL mã QRTurn any link into a scannable QR code, adding https:// when the scheme is missing and warning about unsafe schemes.Bộ tạo Wi-Fi mã QRBuild a standards-compliant WIFI: payload with SSID, password, WPA/WEP/open encryption and hidden-network flag so phones join the network on scan.Bộ tạo vCard mã QRGenerate a vCard 3.0 contact QR code with name, organisation, title, phone, email, website, address and note.Bộ tạo MECARD mã QRBuild a MECARD contact payload — the compact alternative to vCard that fits in a smaller, lower-version QR symbol.Bộ tạo bí mật mã QRCreate a mailto: QR code with prefilled recipient, subject and body.