Verification Flow

┌─────────────────────────────────────────────────────────────────┐
│                    ZK Verification Flow                          │
├─────────────────────────────────────────────────────────────────┤
│                                                                  │
│   Worker Device         ZK Prover          Smart Contract       │
│        │                    │                     │              │
│        │                    │                     │              │
│        │  Raw Evidence      │                     │              │
│        │  (Photo,GPS,Time)  │                     │              │
│        │───────────────────►│                     │              │
│        │                    │                     │              │
│        │                    │                     │              │
│        │              Generate ZK Proof           │              │
│        │              - Location circuit          │              │
│        │              - Time circuit              │              │
│        │              - Completion circuit        │              │
│        │                    │                     │              │
│        │                    │  Proof + Public     │              │
│        │                    │     Inputs          │              │
│        │                    │────────────────────►│              │
│        │                    │                     │              │
│        │                    │              On-chain Verify       │
│        │                    │                     │              │
│        │                    │              ┌──────────────┐      │
│        │                    │              │Valid → Accept│      │
│        │                    │              │Invalid→Reject│      │
│        │                    │              └──────────────┘      │
│        │                    │                     │              │
└─────────────────────────────────────────────────────────────────┘

Last updated