Skip to main content

Offline QR

Build a "device stays offline" signing loop using UR-encoded QR codes.

How It Flows

StageWhat happens
Request preparationThe app encodes the chain-specific signing request as UR data and displays animated QR frames.
Device-side signingUKey Wallet reads the QR frames, shows the signing details, and signs offline after user confirmation.
Signature handoffThe device renders the signature response as an animated UR QR.
App-side completionThe app scans the response, validates it, then broadcasts through your own network path.

Chain Start

ChainRequest TypeResponse Type
Ethereum & EVMeth-sign-requesteth-signature
Bitcoin (PSBT)crypto-psbtcrypto-psbt
Solanasol-sign-requestsol-signature
Trontron-sign-requesttron-signature

API Notes

  • Basic API – Core UR types: CryptoHDKey, CryptoCoinInfo, CryptoKeypath

Deps

# Keystone SDK 与 UR 注册组件
npm install @keystonehq/keystone-sdk @keystonehq/bc-ur-registry-eth

# UR 基础能力包
npm install @ngraveio/bc-ur

Demos

Note: Air-Gap is offline by design. There is no online browser playground.