← Back to ZK-ACE v2
FAQVault Preview ↗

ZK-ACE v2: The Complete Technical Guide

Post-quantum modular smart accounts on Ethereum & L2s, explained from first principles.

Preview-only & pre-audit notice: ZK-ACE v2 is open-source, fork-tested pre-audit software. Mainnet v2 contracts are not yet deployed on Ethereum, Arbitrum One, Base, or OP Mainnet — all four networks are currently Preview Only (deposits disabled) in the vault app, which verifies exact runtime bytecode via read-only RPC and fails closed whenever contracts are missing or mismatched. Do not send real funds.

Part 1: Why Elliptic Curves Break — and Why Hashes Survive

Every standard Ethereum EOA and ECDSA smart wallet depends on the Elliptic Curve Discrete Logarithm Problem (ECDLP) over secp256k1. On a fault-tolerant quantum computer, Shor's algorithm reduces ECDLP to period-finding via the Quantum Fourier Transform and recovers the private key in polynomial time once the public key appears on-chain (which happens on your very first outgoing transaction).

By contrast, cryptographic hash functions like Keccak-256 and Poseidon2 have no algebraic group structure for Shor's algorithm to exploit. The best known quantum attack — Grover's algorithm — yields only a quadratic speedup, turning a 256-bit preimage space into 128-bit post-quantum security. Hash-based cryptography sits at the very top of the post-quantum confidence hierarchy.

Part 2: The 2026 Post-Quantum EVM Design Space

Without waiting for a future Ethereum hard fork (~2029 PQ precompiles), ERC-4337 account abstraction lets smart accounts verify post-quantum authorizations in pure EVM bytecode today. Comparing the real 2026 options:

ApproachHardnessVerify GasPayload SizeNotes
SPHINCS⁻ C7 (ZK-ACE v2 · ERC-7913)Hash-only (Keccak-256)~96k–104k3,704 BStateless, pure EVM KECCAK256, 257.6k full handleOps
SPHINCS⁻ C13 (Verity / Lean 4)Hash-only (Keccak-256)~105k–127k3,688–3,704 BFormally verified in Lean 4 by VerityLabs
Fireblocks ML-DSA-44 (FIPS 204)Module-LWE lattice1,230,0002,420 BPure Solidity SOTA (~45k only with future EIP-8051)
ZKnox ETHFALCON / EPERVIERNTRU lattice~1.8M / ~1.9M666 B / 2,202 BSmallest lattice sig (future EIP-8052 precompile)
True-ZK STARK v2 (ZK-ACE Optional)Hash-only (Poseidon2 + Keccak)3,924,318~24.5–25.4 KB128-row CSPRNG-blinded trace, 256-bit secret
PSE WHIR (KoalaBear ext4)Hash-only PCS (100b / 80b)5,646,080 / 975,202~10–35 KB100-bit provable Johnson bound vs 80-bit test config

SPHINCS⁻ C7 wins on BOTH security conservatism (hash-only, zero lattices) AND gas efficiency (12.8× cheaper than Solidity ML-DSA-44 and 108.6× cheaper than ZK-ACE v1).

Part 3: Inside SPHINCS⁻ C7 (ZK-ACE v2 Default)

ZK-ACE v2 implements the Ethereum Foundation PQ team's SPHINCS⁻ C7 parameter set in Rust/WASM (crates/zk-ace-sphincs, 141 KB WASM bundle) and pure-Yul Solidity (contracts/src/SphincsC7Validator.sol):

Part 4: Inside True-ZK STARK v2 (Optional Research Module)

To eliminate every flaw found in the v1 STARK prototype while demonstrating a genuinely zero-knowledge hash-based prover on EVM, we rewrote crates/zk-ace-stark and contracts/src/StarkVerifierV2.sol from scratch:

Part 5: Modular Smart Account & Universal CREATE2

ZkAceAccountV2 implements ERC-4337 v0.7 BaseAccount, IERC1271, ERC721Holder, and ERC1155Holder:

interface IPqValidator {
    function verify(bytes32 idCom, uint256 chainId, uint256 zkNonce, bytes32 userOpHash, bytes calldata sig) external view returns (bool);
    function verifyEip1271(bytes32 idCom, uint256 chainId, address account, bytes32 hash, bytes calldata sig) external view returns (bool);
    function isValidCommitment(bytes32 idCom) external pure returns (bool);
    function schemeName() external pure returns (string memory);
}