Skip to content

Groth16 verifier on Arbitrum Stylus

Notifications You must be signed in to change notification settings

raftedproc/zk-sunade

 
 

Repository files navigation

sunade

zk-sunade

This is an optimized , hand written Groth16 implementation in Rust using Arbitrum's Stylus SDK.

Features

  • Optimized the code size to 22 KB from 26 KB.(Unoptimized)
  • Minimal use of std library. Removed use of parse() method , instead used bytes to reduce size.
  • Verifier is deployed on Arbitrum Stylus testnet at this address
  • Proofs are working. We are demontrating it , by using tornado cash's code as a POC. Proof working link on stylus testnet.

Benchmarks

  • Uncompressed Wasm - 72Kb
  • Compressed Wasm - 22.7Kb
  • Deployment Gas - 4969475
  • Runtime Gas - 256334

Safety

This is experimental software and is provided on an "as is" and "as available" basis. We do not give any warranties and will not be liable for any loss incurred through any use of this codebase. This code is strictly for educational purposes only. Not for production use.

Made with ❤️ by

About

Groth16 verifier on Arbitrum Stylus

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 43.1%
  • Rust 27.6%
  • JavaScript 21.6%
  • Shell 3.7%
  • Python 3.2%
  • Circom 0.8%