28 releases

new 0.152.0 Apr 15, 2025
0.151.4 Mar 21, 2025
0.150.19 Dec 20, 2024
0.150.16 Nov 21, 2024
0.150.2-rc.2 Jul 31, 2024

#8 in #kzg

Download history 697/week @ 2024-12-24 2172/week @ 2024-12-31 4238/week @ 2025-01-07 4491/week @ 2025-01-14 2769/week @ 2025-01-21 2435/week @ 2025-01-28 3515/week @ 2025-02-04 3809/week @ 2025-02-11 3344/week @ 2025-02-18 2775/week @ 2025-02-25 5261/week @ 2025-03-04 4749/week @ 2025-03-11 5748/week @ 2025-03-18 4658/week @ 2025-03-25 3075/week @ 2025-04-01 3478/week @ 2025-04-08

18,046 downloads per month
Used in 12 crates (2 directly)

MIT/Apache

2MB
33K SLoC

Implementation based on https://github.com/ethereum/consensus-specs/blob/86fb82b221474cc89387fa6436806507b3849d88/specs/deneb/polynomial-commitments.md


Kzg crate

This crate contains functions related to kzg commitment that is used for 4844 blobs.

There are 3 methods that are used by era from this crate:

  • pubdata_to_blob_commitments - computes the blob commitments for given pub data
  • KzgInfo - holds all the methods for converting bytes into blobs
  • ZK_SYNC_BYTES_PER_BLOB - information on how much data is stored per blob.

Dependencies

~15MB
~286K SLoC