Paper 2024/416

Mangrove: A Scalable Framework for Folding-based SNARKs

Wilson Nguyen
Trisha Datta
Binyi Chen
Nirvan Tyagi
Dan Boneh
Abstract

We present a framework for building efficient folding-based SNARKs. First we develop a new "uniformizing" compiler for NP statements that converts any poly-time computation to a sequence of identical simple steps. The resulting uniform computation is especially well-suited to be processed by a folding-based IVC scheme. Second, we develop two optimizations to folding-based IVC. The first reduces the recursive overhead of the IVC by restructuring the relation to which folding is applied. The second employs a "commit-and-fold'' strategy to further simplify the relation. Together, these optimizations result in a folding based SNARK that has a number of attractive features. First, the scheme uses a constant-size transparent common reference string (CRS). Second, the prover has (i) low memory footprint, (ii) makes only two passes over the data, (iii) is highly parallelizable, and (iv) is concretely efficient. Microbenchmarks indicate that proving time is competitive with leading monolithic SNARKs, and significantly faster than other streaming SNARKs. For $2^{24}$ ($2^{32}$) gates, the Mangrove prover is estimated to take $2$ minutes ($8$ hours) with peak memory usage approximately $390$ MB ($800$ MB) on a laptop.

PDF
BibTeX
ePrint ↗
@misc{cryptoeprint:2024/416,
      author = {Wilson Nguyen and Trisha Datta and Binyi Chen and Nirvan Tyagi and Dan Boneh},
      title = {Mangrove: A Scalable Framework for Folding-based SNARKs},
      howpublished = {Cryptology {ePrint} Archive, Paper 2024/416},
      year = {2024},
      url = {https://eprint.iacr.org/2024/416}
}
Category
Cryptographic protocols
License
CC BY
Submitted
Updated
Versions
3 earlier

Report a problem

Comments

Log in or create an account

Privacy