Added new kzgrs core module

This commit is contained in:
Daniel Sanchez Quiros 2024-03-29 15:36:40 +01:00
parent c06962b944
commit 687baeb9a1
5 changed files with 22 additions and 3 deletions

View File

@ -11,8 +11,6 @@ members = [
"nomos-services/metrics",
"nomos-services/data-availability",
"nomos-services/system-sig",
"nomos-da/reed-solomon",
"nomos-da/kzg",
"nomos-da/full-replication",
# TODO: add it again and reimplement full replication
# "nomos-cli",
@ -22,6 +20,6 @@ members = [
"consensus/carnot-engine",
"consensus/cryptarchia-engine",
"ledger/cryptarchia-ledger",
"tests",
"tests", "nomos-da/kzgrs",
]
resolver = "2"

18
nomos-da/kzgrs/Cargo.toml Normal file
View File

@ -0,0 +1,18 @@
[package]
name = "kzgrs"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
ark-bls12-381 = { version = "0.4.0" }
ark-bls12-381-ext = "0.4.1"
ark-ff = { version = "0.4.2" }
ark-poly = "0.4.2"
ark-poly-commit = "0.4.0"
ark-serialize = { version = "0.4" }
thiserror = "1.0.58"
[dev-dependencies]
rand = "0.8.5"

View File

View File

@ -0,0 +1,3 @@
pub mod common;
pub mod kzg;
pub mod rs;

0
nomos-da/kzgrs/src/rs.rs Normal file
View File