| Crates.io | rust-kzg-bn254-prover |
| lib.rs | rust-kzg-bn254-prover |
| version | 0.1.1 |
| created_at | 2025-01-30 21:25:21.229065+00 |
| updated_at | 2025-04-01 21:49:04.43294+00 |
| description | This library offers a set of functions for generating and interacting with bn254 KZG commitments and proofs in rust, with the motivation of supporting fraud and validity proof logic in EigenDA rollup integrations. |
| homepage | |
| repository | https://github.com/Layr-Labs/rust-kzg-bn254 |
| max_upload_size | |
| id | 1536872 |
| size | 102,161 |
This library offers a set of functions for generating and interacting with bn254 KZG commitments and proofs in rust, with the motivation of supporting fraud and validity proof logic in EigenDA rollup integrations.
kzg.setup() function, leave the g2_points empty, and specify the srs_order per the guide.See the test_compute_kzg_proof function in ./tests/kzg_test.rs for an end to end usage of the library.
Also make sure to check out the examples in our docs.
kzg.setup() function, leave the g2_power_of2_path empty, and specify srs_order to be 3000.This code is unaudited and under construction. This is experimental software and is provided on an "as is" and "as available" basis and may not work at all. It should not be used in production.