research/circom-tests/circom2/README.md

31 lines
587 B
Markdown
Raw Normal View History

# Experimenting with Circom
## Some automation
- To run Phase 1 of Powers Of Tau Ceremony:
`./pot`
- To create a new project from template:
`./create project_name`
2022-05-20 13:22:42 +00:00
- To build a project (circuit compilation + witness generation + Phase 2 + proof generation + proof verification), `cd` into the project folder, update `input.json` with a correct input for the circuit and
```
make
```
- To compute a witness for a given input, update `input.json` and
```
make witness
```
2022-05-20 13:22:42 +00:00
- To generate a proof and verify it (witness for `input.json` will be recomputed):
```
make proof
```