24 releases

new 0.151.2 Feb 10, 2025
0.150.21 Feb 7, 2025
0.150.19 Dec 20, 2024
0.150.16 Nov 21, 2024
0.150.2-rc.2 Jul 31, 2024

#841 in Magic Beans

Download history 8590/week @ 2024-10-28 5794/week @ 2024-11-04 5689/week @ 2024-11-11 4720/week @ 2024-11-18 3468/week @ 2024-11-25 3426/week @ 2024-12-02 2412/week @ 2024-12-09 3999/week @ 2024-12-16 405/week @ 2024-12-23 1671/week @ 2024-12-30 4294/week @ 2025-01-06 4538/week @ 2025-01-13 3222/week @ 2025-01-20 2302/week @ 2025-01-27 2791/week @ 2025-02-03 4289/week @ 2025-02-10

12,771 downloads per month
Used in 12 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
~275K SLoC