PQVault
Bitcoin Cash · Post-Quantum Breakthrough

Beyond SPHINCS+.
Universal Post-Quantum BCH Vaults.

PQVault brings hash-based (SLH-DSA & LMS-256), exact lattice-based NIST FIPS 206 Falcon (FN-DSA-512), SHRINCS dual-path, and arbitrary N-way composable hybrids to unmodified single-input Bitcoin Cash Script with full CashTokens support. Zero hardfork. Live on BCH Mainnet — wallet app in final polish.

FIPS 206 FN-DSA-512
9,644 B
Real Falcon-512 + SHAKE-256 in 1 input, 0 padding
Compact LMS-256
2,916 B
256-bit PQ · 3.3× smaller & cheaper fees
N-Way Composable
Up to 5× PQ
3× LMS-256, 5× LMS-192, 2× secp + Falcon
Consensus Changes
0 Fork
100% standard BCH_2026_05 P2SH32 + CashTokens

8 Post-Quantum & Hybrid Vault Schemes

Every profile below is compiled to P2SH32 and verified under @bitauth/libauth May 2026 standard relay limits (≤ 10,000 B scriptSig).

Hybrid Standard (secp256k1 + SLH-DSA)

hybrid-v3 · Default Recommended
Recommended

Stateless defense-in-depth combining strict 64-byte BCH Schnorr (CS+CDS sighash extraction + 12 B self-pinning) with NIST FIPS 205 SLH-DSA-128s.

scriptSig: 9,804 B / 10,000 B 87.9% opCost
128-bit PQ + Classical Stateless CHIP-2026-06 CS+CDS

SHRINCS Dual-Path (LMS + SLH-DSA)

shrincs-dual · Fast + Infinite Recovery
Dual-Path

One P2SH32 address with OP_IF fast 256-bit LMS for cheap everyday spends and OP_ELSE infinite stateless SLH-DSA recovery if leaves run out or on a restored device.

Fast: 4,312 B · Fallback: 9,820 B 40.3% / 88.3% opCost
256-bit Fast / 128-bit Fallback On-Chain q Sync

Lattice Hybrid (secp256k1 + FN-DSA-512)

fndsa-hybrid · Exact NIST FIPS 206
Lattice + EC

Exact Falcon-512 verification with real SHAKE-256 (8-block parallel SIMD Keccak-f[1600]) and BigInt polynomial arithmetic mod q = 12,289, paired with BCH Schnorr CS+CDS.

scriptSig: 9,644 B / 10,000 B 86.5% opCost
128-bit Lattice + Classical Stateless · 0 Padding

Pure Lattice (NIST FIPS 206 FN-DSA-512)

fndsa-pure · Zero secp256k1
Pure Lattice

100% elliptic-curve-free Falcon-512 verifying full BIP-143 CashTokens SIGHASH_UTXOS (0x61) directly inside pure BCH Script with zero OP_CHECKSIG.

scriptSig: 9,807 B / 10,000 B 85.2% opCost · 0 SigChecks
128-bit Lattice PQ 0 secp256k1 Stateless

Pure 256-Bit Hash (RFC 8554 LMS-M32)

lms-pure · Zero secp256k1
Pure 256-bit PQ

Compact 256-bit post-quantum hash tree (H=5, 32 leaves per vault) with zero elliptic curves, private on-chain leaf-index reconstruction, and 3.3× smaller transaction weight.

scriptSig: 3,085 B / 10,000 B 57.9% opCost · 0 SigChecks
256-bit PQ 0 secp256k1 32 Leaves / Vault

Compact 256-Bit Hybrid (secp256k1 + LMS)

lms-hybrid · Lightest PQ Hybrid
2.9 KB Hybrid

Pairs BCH Schnorr CS+CDS with 256-bit RFC 8554 LMS-M32-H5 for the lowest miner fees of any hybrid PQ vault—while shielding against accidental OTS reuse pre-Q-Day.

scriptSig: 2,916 B / 10,000 B 60.8% opCost
256-bit PQ + Classical 32 Leaves / Vault

Pure SLH-DSA v2 (FIPS 205 SPHINCS+)

v2-cashtokens · Frozen Mainnet Proven
Live on Mainnet

Battle-tested 1,412 B pure-script NIST FIPS 205 SLH-DSA-SHA2-128s vault—zero secp256k1, stateless, proven live on BCH Mainnet with CashTokens (SIGHASH_UTXOS).

scriptSig: 9,274 B / 10,000 B 91.2% opCost · 0 SigChecks
128-bit PQ 0 secp256k1 Stateless

Custom N-Way Composition (2, 3, N Legs)

composite · Multi-Scheme & Multi-Party
2..8 Legs

Compose arbitrary AND-policies mixing secp256k1, LMS-256, LMS-192, SLH-DSA, and FN-DSA-512 (derived or external cosigners)—including 3× LMS-256, 5× LMS-192, and 2× secp + Falcon.

5× LMS-192: 7,878 B · 2× secp+FN-DSA: 9,750 B ≤ 10,000 B
3× LMS-256 (0 secp) 5× LMS-192 (0 secp) External Cosigners

Designed for Real Self-Custody

Built from first principles around non-custodial isolation, verifiable VM checks, and zero server trust.

Custody

Strict RAM-Only Web Worker

Master seeds, signing keys, and the freestanding FIPS 206 FN-DSA-512 WASM module run strictly inside an isolated Web Worker—wiped with .fill(0) on sign-out or tab close.

Privacy

Zero-Backend On-Chain State Sync

Stateful LMS & SHRINCS leaf indices (q) reconstruct directly from on-chain spending scriptSig history via Fulcrum, backed by opaque SHA-256-keyed local write-ahead counters.

Verification

Full BCH & CashTokens Pre-Flight

Every spend—plain BCH, 64-bit Fungible Tokens, or 128-byte May 2026 NFTs—is verified locally in @bitauth/libauth BCH_2026_05 before a single byte hits the network.