| Crates.io | zkcg-verifier |
| lib.rs | zkcg-verifier |
| version | 0.1.0 |
| created_at | 2026-01-02 22:52:29.744291+00 |
| updated_at | 2026-01-02 22:52:29.744291+00 |
| description | Public verifier and node for ZKCG – trustless off-chain computation verification |
| homepage | |
| repository | https://github.com/MRSKYWAY/zkcg-verifier |
| max_upload_size | |
| id | 2019308 |
| size | 72,877 |
ZK-Verified Computation Gateway (ZKCG) is a Rust-based protocol node that enables trustless verification of off-chain computation using zero-knowledge proofs.
The system allows clients to submit proofs that a computation was executed correctly and satisfies protocol-defined policies, without revealing private inputs or requiring the verifier to re-execute the computation.
Modern systems increasingly rely on off-chain computation for performance, scalability, and privacy reasons. However, verifiers currently face a difficult tradeoff:
ZKCG resolves this by verifying zero-knowledge proofs of correct computation, allowing results to be accepted without trust or recomputation.
Prover (Client) | |-- private computation |-- ZK proof generation v ZKCG Verifier Node (Rust) | |-- proof verification |-- policy enforcement |-- state transition v Persistent Protocol State
The protocol maintains a deterministic state consisting of:
A proof is accepted only if:
A valid proof alone is not sufficient to update state.
Private Risk / Score Verification
A prover demonstrates that a score computed from private data satisfies a public threshold, without revealing the underlying data or intermediate values.
This pattern applies to:
zk-compute-gateway/ ├── SPEC.md # Protocol specification ├── SECURITY.md # Threat model and assumptions ├── verifier/ # Rust verifier node ├── circuits/ # ZK circuits ├── zkvm/ # zkVM integrations (Phase 2) ├── tests/ ├── benches/ └── docs/
This project is under active development and is currently pre-release. Interfaces and specifications may evolve.
This project is licensed under the Apache License, Version 2.0.
The Apache-2.0 license was chosen to allow broad use in both open-source and commercial systems, while providing an explicit patent grant.