Compiling a smart contract in Java
# compile JVM bytecode (Java class file)
javac contract.java
# compile class file to static binary
native-image --static contract
# check the output binary size
wc -c contract
13644368 contractCompiling Java contract to static binary with the QVM compiler
docker run --rm -v $(pwd):/ws qanplatform/qvm-compiler-java# checking output size of QVM compiler
ls -alh contract
-rwxr-xr-x 1 user group 863K Jun 22 15:48 contractLast updated