ZKVerifyPass
A platform for private data verification using zk-SNARKs for Age Verification, Identity Verification, Compliance/Asset Verification without revealing information.
视频
描述
ZKVerifyPass
ZKVerifyPass is a comprehensive zero-knowledge proof verification platform that enables private data verification on the blockchain without revealing sensitive information. Built with zk-SNARKs (Zero-Knowledge Succint Non-interactive Arguments of Knowledge), the platform allows users to prove the validity of their credentials, age, compliance, status, and asset ownership while maintaining complete privacy.
Traditional verification methods often require exposing sensitive personal data or credentials, creating privacy and security risks. ZKVerifyPass solves this problem by leveraging zero-knowledge cryptography to allow users to prove statements about their data without revealing the data itself.
The platform consists of smart contracts deployed on Ethereum-compatible networks, zk-SNARK circuits for proof generation, and a modern web application for user interaction. Proofs are generated off-chain using Circom circuits and verified on-chain using Groth16 verification.
How It Works
The verification process follows these steps:
Circuit Definition: Verification logic is defined in Circom circuits
Proof Generation: Users generate proofs off-chain using their private data
On-Chain Verification: Smart contracts verify proofs without accessing private data
Record Storage: Verification results are stored on-chain for future reference
Architecture
The platform is built with a modular architecture consisting of three main components:
Smart Contracts
Verifier Contract (
Verifier_custom.sol): Auto-generated Solidity contract from the zk-SNARK circuit using SnarkJS. Implements Groth16 verification for proof validation.ZKVerifyPass Contract (
ZKVerifyPass.sol): Main orchestration contract that handles proof verification, fee management, and integration with the registry. Provides functions for both verification-only and verification-with-storage operations.VerificationRegistry Contract (
VerificationRegistry.sol): Permanent on-chain storage for verification records. Maintains mappings for subjects, verifiers, and verification history.
Circuits
The project includes a custom multi-purpose verification circuit (verify_custom.circom) that supports four verification types:
Age Verification: Prove age requirements without revealing exact age
Identity Verification: Prove valid credentials using hash commitments
Compliance Verification: Prove meeting regulatory requirements
Asset Ownership: Prove ownership of assets without revealing asset details
Frontend
A Next.js-based web application provides an intuitive interface for:
Wallet connectivity (via WalletConnect/Reown)
Verification type selection
Proof submission and verification
Verification history and status checking
Features
Privacy-Preserving Verification: Verify data without exposing sensitive information
On-Chain Proof Verification: Secure verification using Groth16 zk-SNARKs on Ethereum
Permanent Record Storage: Immutable verification records stored on-chain
Gas-Efficient Verification: Separate verification-only function for repeated checks
Configurable Fees: Owner-controlled verification fees
Query Capabilities: Retrieve verification history by subject or verifier
Multiple Verification Types: Support for age, identity, compliance, and ownership verification
Modern Web Interface: User-friendly frontend built with React and Next.js