proof-aggregation/README.md

34 lines
1.7 KiB
Markdown
Raw Permalink Normal View History

2024-10-07 10:36:11 +02:00
Proof Aggregation
================================
2025-04-10 12:41:32 +02:00
2025-06-23 09:14:38 +02:00
This repository contains all work related to the Codex storage proof system which supports proof aggregation (currently only local proof aggregation).
2024-10-07 10:36:11 +02:00
2025-04-10 12:41:32 +02:00
## Quick Usage
2025-06-23 15:46:40 +02:00
see [`codex-storage-proofs-circuits`](./codex-plonky2-circuits) to look at the circuits.
2025-04-10 12:42:11 +02:00
2025-04-10 12:41:32 +02:00
see [`proof-input`](./proof-input) to test the circuits.
2025-04-10 12:42:11 +02:00
2025-06-23 09:14:38 +02:00
see [`workflow`](./workflow) for an overview of the whole workflow and how to use the circuits and run them.
2024-10-07 10:36:11 +02:00
Repository organization
-----------------
2025-06-23 09:14:38 +02:00
- [`plonly2_poseidon2`](./plonky2_poseidon2) is the poseidon2 hash function for Plonky2.
2024-10-07 10:36:11 +02:00
2025-06-23 09:14:38 +02:00
- [`codex-plonky2-circuits`](./codex-plonky2-circuits) contains the Plonky2 codex storage proof circuits. These circuits have the functionality as those in [**here**](https://github.com/codex-storage/codex-storage-proofs-circuits)
2024-10-07 10:36:11 +02:00
2025-07-10 12:44:26 +02:00
- [`plonky2-monolith`](./plonky2-monolith) contains the Monolith hash function for Plonky2.
2025-06-23 09:14:38 +02:00
- [`proof-input`](./proof-input) contains the code to generate proof input for the circuit from fake dataset + some tests for the circuits.
2024-11-14 12:26:37 +01:00
2025-06-23 09:14:38 +02:00
- [`gnark-wrapper`](./gnark-wrapper) contains a Go-based CLI for compiling, proving, and verifying Plonky2-wrapped circuits using our version of [gnark-plonky2-verifier](https://github.com/codex-storage/gnark-plonky2-verifier)
2025-04-10 12:41:32 +02:00
2025-06-23 09:14:38 +02:00
- [`workflow`](./workflow) contains the scripts and example code to generate input, run the circuits, generate a proof, and verify the proof.
2025-04-10 12:41:32 +02:00
2024-11-14 12:26:37 +01:00
Documentation
-----------------
2025-04-10 12:41:32 +02:00
See the write-ups on [plonky2 storage proofs](https://hackmd.io/@NQdG6IOmQE6astjwhJ6ACw/rJSsScfAR).
2024-11-14 12:26:37 +01:00
2025-06-23 09:14:38 +02:00
**WARNING**: This repository contains work-in-progress prototypes, and has not received careful code review. It is NOT ready for production use.