03b90ef63f
* Start to use bytes48 type * Update java bindings * Update variable names * Update csharp bindings * Update node.js bindings * Update python bindings * Fix mistake in python bindings * Add new functions * Fix nit in java bindings * Update variable names in java bindings * Compare to point at infinity * Update bytes_to_bls_field doc * Add todo * Do key validation * Remove bytes_to_g1 * Fix bug & add remark * Fix memcmp mistake * Fix nit in nodejs bindings * Fix another nit * Update nodejs parameter names * Remove to_proof() and to_commitment() * Fix bug |
||
---|---|---|
.. | ||
gradle/wrapper | ||
src | ||
.gitignore | ||
Makefile | ||
README.md | ||
build.gradle | ||
c_kzg_4844_jni.c | ||
c_kzg_4844_jni.h | ||
gradlew | ||
gradlew.bat | ||
settings.gradle |
README.md
Java binding
Build shared library
Prerequisites
- Follow the instructions in the README.md to build blst.
JAVA_HOME
environment variable is set 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.