ZK-powered private crypto inheritance system using Aztec Network with ZKPDF will verification
ZK-AfterLife: Private Crypto Inheritance System with PDF Integration
ZK-AfterLife is a comprehensive zero-knowledge proof-based digital inheritance platform that enables private and automated distribution of crypto assets upon user inactivity. Built on Aztec Network using Noir programming language, the system leverages PLONK-based zk-SNARKs to maintain complete privacy while ensuring verifiable execution of digital wills.
Core Features
Zero-Knowledge Privacy
Automated Execution
Advanced Verification Systems
Technical Architecture
Asset Management
Strategic Partnerships
The system represents a significant advancement in crypto estate planning, combining privacy-preserving technology with practical inheritance management while maintaining the security and transparency benefits of blockchain technology.
Architecture Overview ZK-AfterLife is a multi-layered, cross-chain system that combines zero-knowledge cryptography with practical estate planning. The architecture follows a modular design pattern with clear separation of concerns.
Core Technology Stack
Smart Contracts (Solidity)
Zero-Knowledge Layer (Noir)
Frontend (Next.js + TypeScript)
Backend (Rust + SP1)
Key Technical Innovations
Zero-Knowledge Proof System The heart of the system is a sophisticated ZK circuit that uses Poseidon hashing instead of SHA-256 for better performance. The circuit validates will commitments, builds Merkle trees for beneficiaries, and ensures allocation sums match declared totals - all while keeping beneficiary details completely private.
PDF Integration with ZK Verification The system integrates ZK-PDF technology to allow users to upload signed PDF wills. The Rust backend extracts beneficiary information from PDFs and generates zero-knowledge proofs that verify the document's authenticity without revealing its contents. This enables traditional legal documents to work seamlessly with the crypto inheritance system.
Smart Contract Architecture The system uses interconnected contracts with specific responsibilities:
Frontend Service Architecture The frontend uses a service-oriented architecture with clear separation:
Partner Technology Integration
Ethereum Foundation (ZK-PDF) The system integrates ZK-PDF technology for PDF document verification, enabling users to upload traditional legal wills and have them verified through zero-knowledge proofs. The Rust backend processes PDFs, extracts beneficiary information, and generates proofs that verify document authenticity without revealing sensitive content.
Self Protocol Integration The system integrates Self Protocol for human verification during will setup, identity confirmation for beneficiaries, age verification using ZK proofs, and biometric authentication for sensitive operations.
Aztec Network Integration Leverages Aztec's private execution environment for confidential asset distribution, ensuring beneficiary details and asset amounts remain private during execution.
Notable Technical Innovations
Dynamic Circuit Loading The system gracefully degrades from full ZK mode to mock mode if dependencies aren't available, making development and testing much easier.
Flexible String-to-BigInt Conversion Handles any input format (hex addresses, decimal numbers, text) and converts them to the field elements needed for ZK circuits.
PDF-to-Blockchain Bridge The system automatically extracts beneficiary information from uploaded PDF wills and converts them into blockchain-compatible format, bridging traditional legal documents with crypto inheritance.
Poseidon-Based Merkle Trees Using Poseidon instead of SHA-256 makes the ZK circuit much more efficient, reducing proof generation time and gas costs.
Cross-Chain PDF Verification The Rust backend processes PDFs off-chain and generates proofs that can be verified on-chain, enabling efficient PDF verification without storing large documents on-chain.
How Everything Pieces Together
User creates will (manual or PDF upload) → Frontend generates ZK proof using Noir circuit PDF processing → Rust backend extracts beneficiaries and verifies document authenticity Will registered → Commitment stored on Ethereum L1 Heartbeat monitoring → L1Heartbeat tracks user activity Inactivity detected → Grace period begins with veto options Execution triggered → AztecExecutor distributes assets privately ZK verification → WillVerifier ensures valid execution Asset distribution → Beneficiaries receive private UTXOs
The system elegantly combines privacy (ZK proofs), security (multi-sig veto), automation (heartbeat monitoring), flexibility (configurable parameters), and traditional document integration (PDF wills) into a cohesive digital inheritance solution.