#blockchain #ethereum #reed-solomon #erasure #availability #codec #data

crate_crypto_internal_eth_kzg_erasure_codes

This crate provides an implementation of erasure encoding and decoding

10 releases

new 0.5.4 Feb 21, 2025
0.5.3 Feb 2, 2025
0.5.2 Sep 24, 2024
0.5.1 Aug 27, 2024
0.3.4 Aug 5, 2024

#40 in Magic Beans

Download history 1548/week @ 2024-10-29 1116/week @ 2024-11-05 704/week @ 2024-11-12 1124/week @ 2024-11-19 1944/week @ 2024-11-26 1703/week @ 2024-12-03 1929/week @ 2024-12-10 1603/week @ 2024-12-17 555/week @ 2024-12-24 1559/week @ 2024-12-31 3127/week @ 2025-01-07 2992/week @ 2025-01-14 3476/week @ 2025-01-21 2965/week @ 2025-01-28 3170/week @ 2025-02-04 2699/week @ 2025-02-11

13,094 downloads per month
Used in rust_eth_kzg

MIT license

90KB
1.5K SLoC

Erasure Codes

Overview

This crate provides a Rust API for Erasure codes. It uses Reed solomon encoding, however the decoding algorithm and the API in general is tailored the particular use case of Data Availability sampling in the Ethereum Blockchain. It is not a general purpose crate for unique decoding.

Installation

It is not advised to install this crate as part of an independent project. It is only published to crates.io so that we can publish the eip7594 crate to crates.io. Nevertheless, installation of this crate can be done by adding this to your Cargo.toml:

[dependencies]
crate_crypto_internal_eth_kzg_erasure_codes = "0.1.0"

Dependencies

~4.5MB
~156K SLoC