QAI post-quantum token¶
QAI is a post-quantum token. Its balances belong to Quantum Smart Accounts — 32-byte account IDs — not to
ordinary 0x addresses. The QAI page (Advanced mode) and the qai-* commands manage them.
Testnet, contracts not yet public
The QAI contracts are not deployed on a public chain yet; their addresses come from the network operator.
QAI works on chains where the pq-verify/v1 precompile is active.
Keys¶
The wallet creates two post-quantum keys through the bundled reference signer qai-wallet:
| Key | Algorithm | Purpose |
|---|---|---|
| Operational key | ML-DSA-65 (FIPS 204) | Signs transfers |
| Recovery key | SLH-DSA-SHAKE-192s (FIPS 205) | Recovers the account |
Both are stored as Argon2id + AES-256-GCM keystores in qai-keys/. Your selected PQAI account relays the
transfer and only pays gas — the post-quantum signature is what authorises the move.
Checks before every signature¶
Before it signs, the wallet verifies that:
- the
pq-verify/v1precompile at0x…0d01accepts a known NIST ACVP vector and rejects a modified signature; - the registry was deployed for the connected genesis, and the token uses that registry.
Every signature is bound to the chain, genesis, registry and contract, carries the account's next nonce, and expires after 10 minutes.
What you can do¶
The GUI covers creating an account and transfers; the full lifecycle — recovery, rotation, redemption and reclaim — is available in the CLI and Console:
qai-keygen qai-pubkey qai-status qai-account
qai-balance qai-create qai-transfer qai-redeem
qai-rotate-op qai-recover qai-cancel-recovery
qai-finalize-recovery qai-reclaim
Post-quantum passphrases are supplied through files (for example -op-password-file) or interactive prompts —
never as command-line arguments.
For the token's design, see QAI post-quantum token (testnet).
Sources at 7a33c77104: apps/pqwerai-wallet-windows/README.md
Found a problem? Report a documentation issue · Build testnet-rc1+7a33c77104