Akindo Wave Hack Submission: Build onchain AI dapps with 0G’s Modular L1
ProofAI Vault is an onchain AI verification platform that transforms AI-generated outputs (text, prompts, or datasets) into cryptographically verifiable proofs.
- AI Compute Service: Generates content using OpenAI (GPT-4o-mini).
- Verification System: Hashes inputs (SHA-256) and outputs (SHA-256) to create a tamper-proof record.
- 0G Storage Simulation: Generates a mock CID representing storage on the 0G DA/Storage layer.
- Onchain Anchoring: Ready for 0G Chain with Solidity contracts (
ProofAnchorandProofNFT). - Verifiable Proofs: Each generation creates a unique Proof ID that can be verified instantly.
- Backend: Node.js, Express, OpenAI API, Drizzle ORM, PostgreSQL.
- Frontend: React, Shadcn UI, Tailwind CSS, Lucide Icons.
- Blockchain: Solidity, OpenZeppelin (Contracts provided).
- Storage: Simulated 0G Storage CID generation.
server/: Backend API and AI integration.client/: React frontend.contracts/: Solidity smart contracts for 0G Chain.shared/: Shared types and schema.
This project demonstrates the full lifecycle of a modular AI app:
- Compute: AI generates the content.
- Storage: The full JSON proof (including prompt and output) is "stored" (simulated) on 0G Storage.
- Consensus/DA: The hash of the proof is anchored onchain via
ProofAnchor.sol. - Application: Users interact via the ProofAI Vault UI.
- Click Run in Replit.
- The app will start on port 5000.
- Navigate to "Create Proof" to generate your first AI proof.
- Copy the Proof ID and go to "Verify Proof" to validate it.
MIT