veritasdemo.mp4
Veritas is a decentralized verification protocol that allows enterprises to cryptographically verify that real-world tasks—from AI computations to physical logistics—were executed correctly, at the right location, and within the required timeframe.
In an increasingly automated world, trust is defined by opacity:
- Physical Verification Gap: Logistics and gig-economy platforms rely on easily spoofable GPS data.
- Lack of Auditability: Current solutions rely on centralized logs that can be tampered with or retroactively edited.
We need a system where verification is intrinsic, relying on math and cryptography rather than blind faith in a centralized provider.
Veritas introduces Proof of Execution (PoE): a cryptographically secure receipt that binds a task's constraints (location, time, logic) to its execution evidence.
By combining Trusted Execution environments (simulated), Geofencing, and AI-powered evidence analysis, we generate an immutable proof anchored on the blockchain. This allows anyone to verify the integrity of a task without needing to trust the executor.
Live video demo : https://drive.google.com/file/d/1H8LgfHFExOekvyQuVP1XkVu1CgOg5TXo/view?usp=drive_link
- Google Gemini: Acts as the "Supreme Judge" for complex verification logic, explaining why a proof is valid or suspicious in plain English.
- Google Cloud Firestore: High-performance NoSQL database for real-time synchronization of tasks and proofs.
- Firebase Authentication: Secure, drop-in identity solution ensuring only authorized peers can commit tasks.
- Google Cloud Storage: Secure, scalable object storage for evidence images and immutable audit trails.
- Google Maps Platform: Provides precise geocoding and visual context for location-based verification.
- Google Cloud BigQuery: Powering our real-time analytics engine to detect anomalies and track verification metrics at scale.
- Google Cloud Vision API: Analyzing image evidence for content verification, safety checks (SafeSearch), and optical character recognition (OCR) to validate physical tasks.
- Proof of Execution (PoE): Generates a SHA-256 hash chaining execution time, location, and evidence.
- Trustless Verification Console: A public interface allowing anyone to audit proofs against the blockchain ledger.
- Smart Geofencing: Enforces strict radius checks (e.g., must be within 200m of the target) using the Haversine formula.
- AI Fraud Detection: Uses Gemini and Vision API to flag "spoofed" or unsafe evidence images automatically.
- Immutable Ledger: Anchors every valid proof to a local Hardhat testnet (simulating Ethereum/Polygon) for tamper-proof finality.
- Node.js v18+
- Google Cloud Project (with Vision & BigQuery APIs)
- Firebase Project
-
Clone the repo
git clone https://github.com/your-username/veritas.git cd veritas -
Setup Backend
cd backend npm install # Configure .env with your Google Cloud & Firebase credentials npm start
-
Setup Frontend
cd frontend npm install npm run dev -
Deploy Smart Contracts
cd backend npx hardhat run scripts/deploy.cjs --network localhost

