zkSNARK implementation in JavaScript & WASM
Top 23.3% on sourcepulse
This library provides a JavaScript and WebAssembly implementation of zkSNARK and PLONK cryptographic schemes, targeting developers building zero-knowledge applications. It offers a comprehensive toolkit for generating zk-SNARK parameters via multi-party computation (MPC) ceremonies, supporting Groth16, PLONK, and FFLONK protocols.
How It Works
The library leverages the circom compiler to generate circuits and then utilizes WebAssembly for high-performance cryptographic operations. It supports both Node.js and browser environments, with computations parallelized using worker threads. The core functionality includes managing "powers of tau" ceremonies for universal trusted setups and circuit-specific phase 2 ceremonies, enabling the creation of proofs and verification keys.
Quick Start & Requirements
npm install -g snarkjs@latest
Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
5 days ago
1+ week