Skip to content

TomWambsgans/Whirlaway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Whirlaway 🐎

A hash-based SNARK with lightweight proofs, powered by the Whir Polynomial Commitment Scheme.

Proving System

The protocol is detailed in Whirlaway.pdf

The core argument builds upon SuperSpartan (Srinath Setty, Justin Thaler, Riad Wahby), with AIR-specific optimizations developed by William Borgeaud in A simple multivariate AIR argument inspired by SuperSpartan.

Key techniques:

Poseidon2 Benchmark

RUSTFLAGS='-C target-cpu=native' cargo run --release

CPU: 75K poseidon2 / s (i9-12900H) -> easy 100K with Ring Switching / Univariate Skip in WHIR

GPU: 1M poseidon2 / s (RTX 4090) -> switch to branch gpu

Credits

  • Plonky3 for its finite field crates and poseidon2 AIR arithmetization (src/examples/poseidon2_koala_bear).
  • whir-p3: a Plonky3-compatible WHIR implementation

About

A pqSNARK with lightweight proofs, powered by the Whir PCS.

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

Contributors 3

  •  
  •  
  •  

Languages