Minimal ts example for working with proofs with circom 2.0.0
- The
./scriptsdirectory includes a build script for the./circuits/circuit.circomcircuit. - The
./src/index.tsfile contains all the helper functions needed for generating and verifying proofs. - The
./bundle-test.jsand the./test/proof.test.tsfiles contain a minimal example on how to generate and verify proofs
npm installcd scripts./scripts/build-circuits.shnpm testornpm run test:js-bundle