circomlibjs VS rapidsnark

Compare circomlibjs vs rapidsnark and see what are their differences.

circomlibjs

Javascript library to work with circomlib circuits (by iden3)

rapidsnark

rapidsnark is a fast zkSNARK prover written in C++, that generates proofs for circuits created with circom and snarkjs. (by iden3)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
circomlibjs rapidsnark
2 1
74 38
- -
4.7 8.3
20 days ago 19 days ago
JavaScript C++
- 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.

circomlibjs

Posts with mentions or reviews of circomlibjs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-26.
  • How to Implement a ZK rollup
    4 projects | dev.to | 26 Dec 2023
    The advantage of SMT over the general Merkle tree is that it not only allows us to provide an inclusion proof but also an exclusion proof. This means that we can prove that a tree does not contain a value for the given key. Thanks to this, we can prove any operation (insert, delete, update), which will be a very important property of our rollup. Fortunately, Circomlib (and CircomlibJS) includes an SMT implementation, so we do not need to implement this ourselves.
  • Zero-Knowledge Proofs Using SnarkJS and Circom
    6 projects | dev.to | 13 Jan 2023
    Circomlib has a JS implementation that can be used for this. Let’s install it:

rapidsnark

Posts with mentions or reviews of rapidsnark. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-26.
  • How to Implement a ZK rollup
    4 projects | dev.to | 26 Dec 2023
    To compile a circuit, a lot of RAM and computational capability is required. On my laptop (24G RAM, i7) the largest circuit I could compile was around 64 elements. For a larger batch-size circuit (say 256 elements), a huge amount of RAM is needed. The compile time was also around half to one hour, and the fan was really roaring. Thankfully, generating the proof for the batch was much faster, but still had to wait a few minutes. This time can probably be improved a lot by using rapidsnark for proof generation, and the technology will also probably improve a lot in the future, for example using GPU or ASICs-based proof generation.

What are some alternatives?

When comparing circomlibjs and rapidsnark you can also consider the following projects:

circomlib - Library of basic circuits for circom

circom_tester - Provides tools for testing circom circuits.

tornado-core - Tornado cash. Non-custodial private transactions on Ethereum.

circom - zkSnark circuit compiler

snarkjs - zkSNARK implementation in JavaScript & WASM

zksnark-tutorial - JavaScript tutorial for Zero-Knowledge Proofs using SnarkJS and Circom

mini-zk-rollup - Minimalistic zk rollup implementation with Sparse Merkle Tree and EdDSA signatures