18 releases

new 0.150.15 Nov 20, 2024
0.150.14 Nov 19, 2024
0.150.11 Oct 31, 2024
0.150.5 Sep 6, 2024
0.150.2-rc.2 Jul 31, 2024

#183 in Magic Beans

Download history 9301/week @ 2024-07-31 8458/week @ 2024-08-07 11404/week @ 2024-08-14 13893/week @ 2024-08-21 13366/week @ 2024-08-28 12647/week @ 2024-09-04 13714/week @ 2024-09-11 5583/week @ 2024-09-18 5191/week @ 2024-09-25 7017/week @ 2024-10-02 10207/week @ 2024-10-09 8719/week @ 2024-10-16 10205/week @ 2024-10-23 7295/week @ 2024-10-30 6198/week @ 2024-11-06 4505/week @ 2024-11-13

29,385 downloads per month
Used in 9 crates (2 directly)

MIT/Apache

2MB
33K SLoC

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.

lib.rs:

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

Dependencies

~15MB
~272K SLoC