Skip to content

Minimal ts example for working with proofs with circom 2.0.0

Notifications You must be signed in to change notification settings

akinovak/circom2-example

Repository files navigation

circom2-example

Overview

Minimal ts example for working with proofs with circom 2.0.0

  • The ./scripts directory includes a build script for the ./circuits/circuit.circom circuit.
  • The ./src/index.ts file contains all the helper functions needed for generating and verifying proofs.
  • The ./bundle-test.js and the ./test/proof.test.ts files contain a minimal example on how to generate and verify proofs

Startup instructions

  1. npm install
  2. cd scripts
  3. ./scripts/build-circuits.sh
  4. npm test or npm run test:js-bundle

About

Minimal ts example for working with proofs with circom 2.0.0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published