Calculates witness, that can be passed to a prover (snarkjs, go-rapidsnark/prover or rapidsnark) to generate a zero-knowledge proof.
go get github.com/iden3/go-rapidsnark/witness/v2
This package depends on wasmer shared library, which needs to be copied from wasmer-go module source code.
E.g. to run compiled project on Alpine linux you would need to copy /go/pkg/mod/github.com/wasmerio/[email protected]/wasmer/packaged/lib/linux-amd64/libwasmer.so
from the build host/container.