Skip to main content
PQC Wallet is Vaulkyrie’s post-quantum-oriented wallet mode. It uses hash-based one-time signatures rather than Ed25519 signatures for spend authorization. The implementation is inspired by Blueshift Labs’ Winternitz-based Solana work and adapts the idea into Vaulkyrie’s browser wallet and vaulkyrie-core program model.

What it protects against

Classical Solana wallets rely on Ed25519. A sufficiently capable quantum adversary could threaten elliptic-curve signatures. Hash-based one-time signatures are a different family of signatures whose security rests on hash preimage resistance. PQC Wallet does not make the entire Solana runtime quantum-safe. It creates a wallet-specific authorization path where the spend proof is a one-time Winternitz signature checked against a root stored by the program.

Two formats in the code

The browser code currently supports two WOTS formats: The current Solana format uses:
  • 32 chains
  • 28-byte chain elements
  • 256 chain steps
  • Keccak-derived chain hashing
  • 896-byte signatures

Spend flow

Each spend consumes the current one-time signing key and advances the wallet to a next root.

Source map

Example: derive a phrase-backed PQC key

Example: build the on-chain advance message

Example: build an advance instruction

Operational warning

Winternitz keys are one-time keys. Do not sign multiple messages with the same current key. In Vaulkyrie, a successful PQC spend must move from currentRoot to nextRoot.