{
  "id": "2025/1741",
  "url": "https://opencryptology.org/2025/1741",
  "original_url": "https://eprint.iacr.org/2025/1741",
  "title": "Full L1 On-Chain ZK-STARK+PQC Verification on Solana: A Measurement Study",
  "authors": [
    "Jotaro Yano"
  ],
  "affiliations": null,
  "abstract": "Blockchains preserve public data indefinitely, creating tension between verifiability today and secrecy decades hence. In particular, 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. This work investigates whether a fully on-chain pipeline that verifies both a ZK-STARK and a post-quantum signature can operate within Solana L1's compute and memory constraints. Our prototype adapts Winterfell 0.12 with a dedicated SHA-256 hashv syscall path to reduce hashing overhead, suppresses inlining in FRI hotspots to respect SBF (Solana BPF) stack limits, and uses a custom bump allocator synchronized with requested heap frames. Artifacts are uploaded in ≤900 byte chunks under a rolling hash chain and finalized in two steps: (i) SLH-DSA (SPHINCS+) signature verification over a length-delimited transcript, and (ii) STARK verification bound to SHA256(cipher) via public inputs. The result is an L1 verifier that is CPI-friendly, reproducible from a public repository, and engineered for predictable cost. On devnet, across n=100 runs, we measure mean finalize_sig cost of 5.01×10^5 CU (median 4.999×10^5) and mean verify_stark cost of 1.10×10^6 CU (median 1.11×10^6), with maxima below 1.19×10^6 CU; all runs fit within Solana's 1.4×10^6 CU transaction budget. 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. We systematize DoS and fee controls (fixed-offset appends, rolling-hash checks), justify the binding of public inputs to the ciphertext, and outline engineering levers (single-call hashing, stack discipline, phase separation) that make full L1 STARK+PQC verification practical at ≈128-bit settings.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Full L1 On-Chain ZK-STARK+PQC Verification on Solana: A Measurement Study” by Jotaro Yano, Cryptology ePrint Archive, Paper 2025/1741, https://eprint.iacr.org/2025/1741. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2025-09-23T15:50:56Z",
    "updated": "2025-09-23T15:50:56Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/1741.pdf",
    "sha256": "2b7ff37591c2df9db2a90550161b1f86a2dcf9af28f59fb8b632f7d3ff4b6b2b",
    "size": 397408,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2025/1741/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/1741.pdf",
      "size": 397408,
      "sha256": "2b7ff37591c2df9db2a90550161b1f86a2dcf9af28f59fb8b632f7d3ff4b6b2b",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/1741.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 397408
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260112071157id_/https://eprint.iacr.org/2025/1741.pdf",
      "captured_at": "2026-01-12T07:11:57Z",
      "size": 393825
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/1741,\n      author = {Jotaro Yano},\n      title = {Full L1 On-Chain ZK-STARK+PQC Verification on Solana: A Measurement Study},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/1741},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/1741}\n}"
}
