ReadonlyalphaThe alpha * G, where G is the generator of G1
ReadonlybetaThe alpha * H, where H is the generator of G2
ReadonlydeltaThe delta * H, where H is the generator of G2
ReadonlygammaThe gamma^{-1} * (beta * a_i + alpha * b_i + c_i) * H, where H is the generator of G1
ReadonlygammaThe gamma * H, where H is the generator of G2
Converts the verification key to a JSON format compatible with snarkjs groth16.verify
An object containing the verification key in snarkjs format
StaticfromConverts a Groth16VerificationKeyResponse object into a Groth16VerificationKey instance.
The Groth16VerificationKeyResponse object containing the verification key data.
A Groth16VerificationKey instance constructed from the provided response data.
Verifies a Groth16 proof using the verification key given the public inputs hash and the proof.
The Groth16 proof
The public inputs hash
true if the proof is valid
Represents the verification key stored on-chain used to verify Groth16 proofs.