16 releases

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

#148 in Magic Beans

Download history 8253/week @ 2024-08-01 8541/week @ 2024-08-08 12278/week @ 2024-08-15 15276/week @ 2024-08-22 13783/week @ 2024-08-29 10966/week @ 2024-09-05 12226/week @ 2024-09-12 5455/week @ 2024-09-19 5515/week @ 2024-09-26 8334/week @ 2024-10-03 9902/week @ 2024-10-10 9334/week @ 2024-10-17 8915/week @ 2024-10-24 7008/week @ 2024-10-31 5615/week @ 2024-11-07 5444/week @ 2024-11-14

29,965 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

~16MB
~292K SLoC