c-kzg-4844/bindings/java
Stefan Bratanov 679cdd20ce make sure to exit c method when trusted setup is not loaded 2022-11-24 12:10:56 +00:00
..
.gitignore revert to using c 2022-11-24 09:14:12 +00:00
CKzg4844JNI.java implementing all methods 2022-11-24 11:50:37 +00:00
README.md make sure to exit c method when trusted setup is not loaded 2022-11-24 12:10:56 +00:00
c_kzg_4844_jni.c make sure to exit c method when trusted setup is not loaded 2022-11-24 12:10:56 +00:00
c_kzg_4844_jni.h implementing all methods 2022-11-24 11:50:37 +00:00

README.md

Build Shared Library

Prerequisites

  • Follow the instructions in the home README.md to create the libblst.a.
  • JAVA_HOME environment variable is set to a jdk with an include folder containing jni.h file.

Windows

TBC

Linux

clang -O -Wall -shared -fPIC -I../../blst/bindings -I../../src/ -I${JAVA_HOME}/include -I${JAVA_HOME}/include/linux -o lib/libckzg4844jni.so c_kzg_4844_jni.c ../../src/c_kzg_4844.c ../../blst/libblst.a

Mac-OS

TBC