Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 844 Bytes

README.md

File metadata and controls

12 lines (10 loc) · 844 Bytes

Halo2 (Plonk) Verifier using NEAR Precompiles

This crate implements a Verifier compatible with snark-verifier. It does most verification tasks natively in Rust, just like a traditional halo2 verifier would. With the only difference of calling NEAR precompiled contracts to perform group and pairing operations in Bn256 and calculate Keccak256 hash when reading transcript. This reduces the size of verifier WASM binary on NEAR and saves gas.

This crate is used by ZeroPool smart-contract for NEAR. But it's generic enough to verify any Halo2 circuit.