Deep dive into Circom circuits.
We make heavy use of Circomlib.
- Multiplier, Fibonacci.
- Logical Gates, Comparators, IsZero.
- Sudoku
- If-Else, Switcher, Multiplexing
- Hash Functions: Poseidon, MIMC and SHA256.
- Merkle Trees. (Incremential, Sparse, Naive)
- Arrays, Sorting
We use mdbook
to create the book, see the book folder.
For each circuit, we dive deep into the constraints and tests them out.
TIPS:
- if expensive: compute outside, verify inside
- disable checks if enabled trick