c-kzg-4844/bindings/java
Stefan Bratanov 971484f85c Use canonical random blobs in tests 2022-12-10 21:05:16 +02:00
..
gradle/wrapper adding gradle, makefile and tests 2022-11-24 17:16:15 +00:00
src Use canonical random blobs in tests 2022-12-10 21:05:16 +02:00
.gitignore Add hprof files to gitignore 2022-12-06 13:14:37 +00:00
Makefile Java binding - load library based on a preset 2022-12-06 12:58:56 +00:00
README.md add a dot in README 2022-12-06 15:03:58 +00:00
build.gradle Java binding - load library based on a preset 2022-12-06 12:58:56 +00:00
c_kzg_4844_jni.c Use canonical random blobs in tests 2022-12-10 21:05:16 +02:00
c_kzg_4844_jni.h Java binding - load library based on a preset 2022-12-06 12:58:56 +00:00
gradlew fixing pipeline 2022-11-24 20:03:30 +00:00
gradlew.bat adding gradle, makefile and tests 2022-11-24 17:16:15 +00:00
settings.gradle adding gradle, makefile and tests 2022-11-24 17:16:15 +00:00

README.md

Build Shared Library

Prerequisites

  • Follow the instructions in the README.md to build blst.
  • JAVA_HOME environment variable is set to a JDK with an include folder containing a jni.h file.

Build

make build

This will install the library in src/main/resources/ethereum/ckzg4844/lib with a folder structure and name according to the preset selected (mainnet or minimal) and your OS.

All variables which could be passed to the make command and the defaults can be found in the Makefile.

Test

make test

Benchmark

JMH is used for benchmarking. See CKZG4844JNIBenchmark.java for more information.

make benchmark