Build Your First zkPDF Proof
summary
zkPDF takes signed PDFs, extracts signatures and text, and produces Groth16 or PlonK proofs via the SP1 ProNet so a verifier contract on Ethereum or Arbitrum accepts a public input like a GST number or an “over 18” claim without revealing the file. Demo shows two methods—extract + verify and substring with offset—server-side proof generation (benchmarks: 31–52 seconds), Rust libs, verifier contracts, and document commitments to prevent replay.
AI-written summary · about
chapters (29)
- 0:00Introduction: why zkPDF matters
- 0:34Web2 signed data and government PDFs
- 1:05Use cases: KYC, finance, and age proofs
- 1:29Proving statements from trusted documents
- 1:50Importance of document signers and authorities
- 2:16Indian government PDF signature example
- 2:41How the zkPDF stack works (SP1 prover, verifier contract)
- 3:37Proof generation on server-side
- 3:59Computational limits and client-side roadmap
- 4:19Compatibility check: verifying signatures in PDFs
- 5:19Demonstration: extract and verify method
- 6:00Substring with offset verification
- 6:30Repo structure and setup overview
- 6:55Environment variables and SP1 access
- 7:16Inputs, outputs, and commitments
- 8:03Proof generation options (local vs. ProNet API)
- 8:25Live demo: proof request and generation
- 9:22Proof verification onchain/offchain
- 10:14API reference: verify and extract methods
- 11:07Extracting text and committing proofs onchain
- 11:37Smart contract verification flow
- 11:58Document commitments and replay protection
- 13:17Signature algorithms and support (RSA-SHA)
- 14:25PDF compatibility and limitations
- 14:44Client-side feasibility
- 15:22Integration guide for zkPDF APIs
- 15:48Accessing SP1 ProNet and dashboards
- 17:45Benchmarks: proof time and gas cost
- 18:10Closing remarks and resources
related talks
20mShow Me the Proof! ZK Identity with Self Protocol
25mSuccinct Proofs in Ethereum
23mWeb Proofs on Ethereum with vlayer
51mWhy you shouldn't trust me
41mThe Future Is Trustless: How ZkVMS And ZkTLS Transform Bug
44mZero-Knowledge Proofs: Simultaneously ensuring integrity and privacy
26mZKP for Audits of Unsolicited Consumer Communication
03m1st Standards Workshop
