Skip to Content
WalletsUsing PQHD

Using PQHD

PQHD (Post-Quantum Hierarchical Deterministic) is Tidecoin Core’s wallet key derivation system. Unlike BIP-32, it is hardened-only and works across all five PQ signature schemes. You can run multiple seeds in one wallet and set a per-seed scheme policy for receive and change addresses.

This page is for wallet operation. The canonical derivation specification lives at Protocol / PQHD.

Why PQHD exists

Bitcoin-style BIP32 relies on elliptic-curve public derivation and xpubs. Tidecoin uses post-quantum lattice signatures, so PQHD uses hardened-only hash-based derivation instead. That means derivation metadata can describe the path, but secret seed material remains wallet-local.

Path shape

PQHD paths follow:

m / purpose' / coin_type' / scheme' / account' / change' / index'

The fixed values are:

FieldValue
purpose'10007'
coin_type'6868'
scheme'Tidecoin PQ scheme prefix
change'0' for receive, 1' for change

All elements are hardened.

Scheme prefixes

SchemePrefix
Falcon-5127
Falcon-10248
ML-DSA-449
ML-DSA-6510
ML-DSA-8711

Mainnet currently allows Falcon-512 before AuxPoW. Additional schemes are implemented but gated by AuxPoW activation on mainnet. See Activation Status.

Wallet RPCs

RPCPurpose
setpqhdpolicySet default receive and change schemes.
listpqhdseedsList seed IDs and default receive/change markers.
importpqhdseedImport a 32-byte PQHD master seed in hex form.
setpqhdseedSelect default receive and change seed IDs.
removepqhdseedRemove an unused seed that is not a default.

Example policy command:

tidecoin-cli -rpcwallet="<wallet>" setpqhdpolicy "falcon-512" "falcon-512"

Example seed listing:

tidecoin-cli -rpcwallet="<wallet>" listpqhdseeds

Descriptors and PSBT

Tidecoin descriptor wallets use pqhd(...) expressions, for example:

wpkh(pqhd(<seedid32>)/10007h/6868h/7h/0h/0h/*h)

PSBT can carry Tidecoin proprietary PQHD origin metadata under the tidecoin identifier. Wallet RPCs expose include_pqhd_origins options where this metadata is useful for offline signing workflows.

Backup warning

PQHD seeds are secret wallet material. A descriptor string records derivation intent; it is not a replacement for a wallet backup or seed backup.

See also: Protocol / PQHD, Signature Scheme Registry, Reference / RPC Reference, Integrations / PSBT and Offline Signing.

Last updated on