JC-KZG
June 23, 2021 ยท View on GitHub
Java wrapper around C-KZG library: https://github.com/benjaminion/c-kzg/
Repository
The repository contains two submodules, so they need to be checked out
> git clone <JC-KZZG repo>
> cd jc-kzg
> git submodule init
> git submodule update
Building
Building native part
Testing the build
> ./gradlew build
The test(s) should pass:
> Task :test
JcKZGTest > proofSingle() PASSED
Building JAR
> ./gradlew jar
Publishing artifact locally
> ./gradlew publishToMavenLocal
Dependency
<dependency>
<groupId>tech.pegasys</groupId>
<artifactId>jc-kzg</artifactId>
<version>0.1.0-RELEASE</version>
</dependency>
Supported platforms
- x86-64
- Windows (tested on Win 10)
- Linux (tested on Ubuntu 18.04)
- MacOS (tested on 10.15.7 Catalina)