# iden3/snarkjs

zkSNARK implementation in JavaScript & WASM

Repository: https://github.com/iden3/snarkjs
Canonical: https://ross.abutalabs.com/products/snarkjs
Language: JavaScript
License: GPL-3.0
License Family: copyleft
Last push: 2026-08-26T17:36:02+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 36, longevity 100
- inputs: {"age_days": 2946, "days_push": 7, "days_rel": 219, "gap_med": 465, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2036, forks 483 (observed 2026-08-28T04:06:08.018623+00:00)

## What it is
A JavaScript and pure WebAssembly implementation of zkSNARK schemes including Groth16, PLONK, and FFLONK. It provides all tooling for generating and verifying zero-knowledge proofs and running multi-party trusted setup ceremonies, working in Node.js and the browser.

## Use cases
- generate and verify zkSNARK proofs from circom circuits
- run a multi-party trusted setup ceremony for a zk circuit
- prove statements in zero knowledge for an Ethereum dapp
- verify zero-knowledge proofs in the browser
- participate in a powers of tau ceremony
- compile and prove circuits with Groth16 or PLONK

## When to choose
- you need a pure JavaScript/WASM zkSNARK toolkit without native dependencies
- you are building zero-knowledge applications on Ethereum or other chains
- you need to orchestrate phase 1 or phase 2 trusted setup ceremonies
- you want proofs generated in Node.js or directly in the browser

## When to avoid
- you need maximum proving performance from native GPU or Rust implementations
- your project requires a permissive license (snarkjs is GPL-3.0)
- you need zk-STARKs or schemes outside Groth16/PLONK/FFLONK
- you are not working with circom-compiled circuits

## Facets
- artifact type: library
- maturity: active
- function: cryptography, cli, sdk
- domain: blockchain, developer-tools, security
- platform: browser, wasm, cli, cross-platform
- tags: zksnark, zero-knowledge-proofs, groth16, plonk, fflonk, circom, trusted-setup, powers-of-tau, ethereum, wasm, cryptography, nodejs

## Member repositories
- iden3/snarkjs (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:08.018623+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:59:19.857775+00:00, confidence not recorded.
  - readme: https://github.com/iden3/snarkjs (fetched 2026-08-28T04:06:08.018623+00:00, sha 8bc5658a95f2)
  - registry_npm: https://registry.npmjs.org/snarkjs (fetched 2026-08-29T10:38:57.773103+00:00, sha a71ecadc5691)
- Data as of 2026-08-30T08:39:29.467469+00:00.
