953 B
953 B
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 aninclude
folder containing ajni.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 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
Library
The library which uses this binding and publishes a package to a public maven repo is jc-kzg-4844.