An open API service indexing awesome lists of open source software.

https://github.com/devfans/plonky2.5


https://github.com/devfans/plonky2.5

Last synced: 6 months ago
JSON representation

Awesome Lists containing this project

README

          

plonky2.5 flow diagram

plonky2.5




verify plonky3 STARK proofs in a plonky2 SNARK

## Prove plonky3 fib proof

```bash

cargo run --example prove_recursive --release

```

Proof size: 162608 bytes
demo proved in 23800ms
proof public_inputs: []

## Getting Started

Generate plonky3 fibonacci(64) proof
```bash
git clone -b fib-example https://github.com/QEDProtocol/plonky3-fibonacci
cd plonky3-fibonacci/keccak-air
cargo run --example prove_goldilocks_poseidon2_fibonacci
```

Clone this repo and copy the generated proof to `artifacts/`
```bash
cd ...
git clone https://github.com/QEDProtocol/plonky2.5
cd plonky2.5
cp ../plonky3-fibonacci/keccak-air/proof_fibonacci.json artifacts/
```

Verify a plonky3 fibonacci proof in a plonky2 proof
```bash
cargo test --release --package plonky2_5 --lib -- 'p3::tests::test_verify_plonky3_proof' --exact --nocapture
```

## Learn More

- [Air Setup](https://github.com/QEDProtocol/plonky2.5/blob/main/docs/DEVELOPER-GUIDE.md)

## License
Copyright 2024 Zero Knowledge Labs Limited

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Made with ❤️ by QED