20 releases

new 0.150.20 Jan 15, 2025
0.150.19 Dec 20, 2024
0.150.16 Nov 21, 2024
0.150.11 Oct 31, 2024
0.150.2-rc.2 Jul 31, 2024

#286 in Magic Beans

Download history 5052/week @ 2024-09-29 11067/week @ 2024-10-06 8614/week @ 2024-10-13 10153/week @ 2024-10-20 8654/week @ 2024-10-27 5786/week @ 2024-11-03 5652/week @ 2024-11-10 4708/week @ 2024-11-17 3530/week @ 2024-11-24 3424/week @ 2024-12-01 2402/week @ 2024-12-08 3916/week @ 2024-12-15 460/week @ 2024-12-22 1616/week @ 2024-12-29 4309/week @ 2025-01-05 4188/week @ 2025-01-12

10,651 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
~274K SLoC