Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/advaita-saha/create-circom-project
A circom started project for simpler use and zero-knowledge project development with simple commands
https://github.com/advaita-saha/create-circom-project
circom circomjs-starter circomlib hardhat snarkjs zero-knowledge
Last synced: about 1 month ago
JSON representation
A circom started project for simpler use and zero-knowledge project development with simple commands
- Host: GitHub
- URL: https://github.com/advaita-saha/create-circom-project
- Owner: advaita-saha
- Created: 2023-04-02T06:37:14.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-05-18T10:15:30.000Z (over 1 year ago)
- Last Synced: 2024-10-22T22:56:10.468Z (3 months ago)
- Topics: circom, circomjs-starter, circomlib, hardhat, snarkjs, zero-knowledge
- Language: Solidity
- Homepage: https://www.npmjs.com/package/create-circom-project
- Size: 4.51 MB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A Sample Circom Project
Circom is a programming language and a toolchain for building and verifying zero-knowledge proofs (ZKPs). Zero-knowledge proofs are cryptographic protocols that allow a prover to demonstrate the validity of a statement to a verifier without revealing any additional information beyond the truth of the statement itself. Circom allows developers to write ZKP circuits using a high-level language and then compile them to a low-level representation that can be used to generate proofs. Circom is often used in combination with other tools and languages such as SnarkJS, which is a JavaScript library for creating and verifying ZKPs, and Solidity, which is a smart contract language used for building decentralized applications on the Ethereum blockchain.
### Run the following commands to run the project
- Install rust
```bash
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh
```
- Install circom
```bash
git clone https://github.com/iden3/circom.git
cd circom
cargo build --release
cargo install --path circom
```
- Install snarkjs
```bash
npm install -g snarkjs
```
- Clone this repository and then run the following commands
```bash
npm i
npm run build
npm run setup
npm run verify
npm run generateVerifier
```
- To clean the existing build files
```bash
npm run clean
```