Skip to content

Halo2 verifier using NEAR Precompiled Contracts

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

zeropoolnetwork/near-halo2-verifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Halo2 verifier using NEAR Precompiled Contracts

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages