參考資料
UR 與 CBOR 入門CBOR 酬載如何變成 Bytewords、幀與 QR Code,以及 BitTool Signer 使用的 CBOR 標籤。測試向量本站所有範例的 JSON 版本,由 BitTool Signer 引擎產生。限制與錯誤大小限制、會被拒絕的輸入,以及請求遭拒時使用者會看到什麼。相容性已知能匯入 BitTool Signer 帳戶並掃描其簽名的錢包。
UR 類型一覽
| UR 類型 | 方向 | 主體 | 頁面 |
|---|---|---|---|
bytes | 簽名器 → 錢包 | 承載 canonical CBOR 配對 map 的位元組字串 | 錢包層級 |
crypto-account | 簽名器 → 錢包 | {1: fingerprint, 2: [descriptor]} | 幣種層級 |
crypto-hdkey | 簽名器 → 錢包 | HD 金鑰 map | 幣種層級 |
crypto-multi-accounts | 簽名器 → 錢包 | {1: fingerprint, 2: [hdkey], 3: device, 5: version} | 幣種層級 |
crypto-psbt、psbt | 雙向 | 承載 PSBT 的位元組字串 | Bitcoin |
eth-sign-request → eth-signature | 錢包 → 簽名器 → 錢包 | 以整數為鍵的 map | EVM |
tron-sign-request → tron-signature | 錢包 → 簽名器 → 錢包 | 以整數為鍵的 map | TRON |
sol-sign-request → sol-signature | 錢包 → 簽名器 → 錢包 | 以整數為鍵的 map | Solana |
標準
- BCR-2020-005:Uniform Resources 與 BCR-2020-006:UR type registry
- BCR-2020-007:HD keys、BCR-2020-010:output descriptors、BCR-2020-015:accounts
- Keystone UR registry(
eth-、sol-、tron-sign-request及其簽名)、EIP-4527 - RFC 8949:CBOR(§4.2.1 確定性編碼)
- BIP 32、BIP 39、BIP 44、BIP 48、BIP 84、BIP 86、BIP 174、BIP 370、SLIP-0010
- EIP-155、EIP-191、EIP-712、EIP-1559、EIP-2718
- BBQr、SeedQR