c-kzg-4844/bindings/java
Justin Traglia d637761a2e
Use official trusted setup (#377)
2023-10-18 13:31:55 -05:00
..
gradle/wrapper [Java bindings] Improve javadoc + update dependencies (#213) 2023-03-15 11:20:04 -05:00
src Use official trusted setup (#377) 2023-10-18 13:31:55 -05:00
.gitignore Add hprof files to gitignore 2022-12-06 13:14:37 +00:00
Makefile Use official trusted setup (#377) 2023-10-18 13:31:55 -05:00
README.md Use official trusted setup (#377) 2023-10-18 13:31:55 -05:00
build.gradle [Java bindings] Improve javadoc + update dependencies (#213) 2023-03-15 11:20:04 -05:00
c_kzg_4844_jni.c Use official trusted setup (#377) 2023-10-18 13:31:55 -05:00
c_kzg_4844_jni.h Use official trusted setup (#377) 2023-10-18 13:31:55 -05:00
gradlew [Java bindings] Improve javadoc + update dependencies (#213) 2023-03-15 11:20:04 -05:00
gradlew.bat [Java bindings] Improve javadoc + update dependencies (#213) 2023-03-15 11:20:04 -05:00
settings.gradle adding gradle, makefile and tests 2022-11-24 17:16:15 +00:00

README.md

Java binding

Build shared library

Prerequisites

  • Build blst by running make blst in the library source directory.
  • Set JAVA_HOME environment variable to a JDK with an include folder containing a jni.h file.

Build

make build

This will install the shared library in src/main/resources/ethereum/ckzg4844/lib with a folder structure and name according 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

Library

The library which uses this binding and publishes a package to a public maven repo is jc-kzg-4844.