snarkjs VS circomlib

Compare snarkjs vs circomlib and see what are their differences.

snarkjs

zkSNARK implementation in JavaScript & WASM (by iden3)

circomlib

Library of basic circuits for circom (by iden3)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
snarkjs circomlib
6 2
1,667 566
2.5% 4.1%
7.5 0.0
5 days ago 4 months ago
JavaScript JavaScript
GNU General Public License v3.0 only -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

snarkjs

Posts with mentions or reviews of snarkjs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-08.

circomlib

Posts with mentions or reviews of circomlib. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-09.
  • A beginner's intro to coding zero-knowledge proofs
    13 projects | dev.to | 9 Feb 2023
    I found Circom to be the best language to start learning ZKPs, as suggested by CyberPorter. To me, Circom has the ideal level of abstraction for learning: not too high level that it abstracts away some of the quirks of ZKP, and not too low level that you get bogged down in annoying details. It also has been around for quite some time (modulo how new everything ZK is!), so you can find more documentation and samples, as well as the awesome Circom workshops from 0xparc. Last but not least, there is circomlib, a library of common building blocks for Circom.
  • Zero-Knowledge Proofs Using SnarkJS and Circom
    6 projects | dev.to | 13 Jan 2023
    The other thing we need is the circomlib. Circomlib is a programming library with many useful predefined circuits. So, create an empty project, and install circomlib using this code:

What are some alternatives?

When comparing snarkjs and circomlib you can also consider the following projects:

powersoftau - Communal zk-SNARK MPC for Public Parameters

halo2 - The Halo2 zero-knowledge proving system

phase2-bn254

circomlibjs - Javascript library to work with circomlib circuits

circom - zkSnark circuit compiler

ZoKrates - A toolbox for zkSNARKs on Ethereum

ideas-for-projects-people-would-use - Every time I have an idea, I write it down. These are a collection of my top software ideas -- problems I think enough people have that don't have solutions. I expect you can reach a decent userbase if marketed correctly, as I am surely not the only one with these problems.

cairo-lang

webpack - A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.

perpetualpowersoftau - New repo: https://github.com/privacy-scaling-explorations/perpetualpowersoftau

noir - Noir is a domain specific language for zero knowledge proofs