Circom circuit implementations with in-depth explanations.
Install packages with:
bun installWe use mdbook to create the book, see the book folder. You can build the book with the following:
bun book # automatically serve the book
bun book:build # build without servingThe book is based on the mdBook template and is published at https://circom.erhant.me.
Run circuit tests with:
bun test
# with pattern matching
bun test pattern-name
# with explicit paths
bun test ./path/to/some.test.tsThe tests make use of Circomkit.
Check the formatting with the following command:
bun formatThis command checks the test code with Prettier.