§Why Groth16 zk-SNARKs?#
Vellum Cash selects the Groth16 (2016) zero-knowledge proof system for cross-chain settlement due to several critical engineering factors:
§The BN254 Pairing-Friendly Curve#
The BN254 (also known as alt_bn128) elliptic curve is natively supported by Ethereum and EVM-compatible chains via precompiled contracts at addresses 0x06, 0x07, and 0x08.
Curve Parameters:
§Bilinear Pairing Verification Equation#
The on-chain verifier checks the validity of proof (A, B, C) against public inputs x by verifying:
If and only if this equality holds in G_T, the proof is mathematically verified, guaranteeing that the prover possesses a valid witness without revealing any secret values.
§Powers of Tau & Trusted Setup#
The circuit parameters for Vellum Cash were generated through the universal Hermez Perpetual Powers of Tau ceremony, combined with circuit-specific Phase 2 contributions. The resultant proving keys (.zkey) are publicly hosted and verifiable against known BLAKE2b checksums.