Full L1 On-Chain ZK-STARK+PQC Verification on Solana: A Measurement Study
Prototypes a fully on-chain Solana L1 verifier for a ZK-STARK plus an SLH-DSA (SPHINCS+) signature, measuring compute-unit cost on devnet against the 1.4×10^6 CU transaction budget.
Schemes: SLH-DSA, SPHINCS+, ZK-STARK, FRI, Winterfell 0.12, Groth16, PLONK, SHA-256
Findings (quotes checked against the source text)
-
A full on-chain STARK plus SLH-DSA verification pipeline fits within Solana's per-transaction compute budget on devnet across 100 runs.
all runs fit within Solana's 1.4×10^6 CU transaction budget.
-
The verifier is a two-step finalize: SLH-DSA verification over a transcript, then STARK verification bound to SHA256(cipher) via public inputs.
(i) SLH-DSA (SPHINCS+) signature verification over a length-delimited transcript, and (ii) STARK verification bound to SHA256(cipher) via public inputs.
-
Verification cost scales roughly linearly with proof size under a fixed FRI policy, with measured per-byte intensities at representative sizes.
At representative sizes, the derived intensities are ≈63.8 CU/Sig-byte (7,856 B) and ≈248.9 CU/Proof-byte (4,437 B), and verification scales approximately linearly with proof bytes under a fixed FRI policy.
-
Motivation: pairing-based SNARKs rely on discrete-log assumptions vulnerable to Shor-type attacks, which motivates hash-based alternatives.
pairing-based SNARKs (e.g., Groth16, PLONK) rely on discrete-log assumptions that are structurally vulnerable to Shor-type quantum attacks, motivating hash-based alternatives.
-
The verifier is designed to be CPI-friendly, reproducible from a public repository, and cost-predictable.
The result is an L1 verifier that is CPI-friendly, reproducible from a public repository, and engineered for predictable cost.
Numbers (as extracted, not quote-checked)
- Mean finalize_sig (SLH-DSA) cost on devnet, n=100: 5.01×10^5 CU
- Mean verify_stark cost on devnet, n=100: 1.10×10^6 CU
- Maximum observed run cost: below 1.19×10^6 CU
- Solana transaction compute budget: 1.4×10^6 CU
- Signature-size CU intensity: 63.8 CU/Sig-byte at 7,856 B
- Proof-size CU intensity: 248.9 CU/Proof-byte at 4,437 B
For builders
Hash-based STARK plus SLH-DSA verification can be run inside a single L1 transaction budget on Solana, so chain designers can budget PQ verification cost per proof byte.
Limits
Devnet measurements of one prototype (Winterfell 0.12 fork) under a fixed FRI policy at about 128-bit targets; mainnet cost, other chains, and security analysis are not covered in the abstract.
Topics: sig-hash-based zk-proofs benchmarks chain-design hash-functions