An open API service indexing awesome lists of open source software.

https://github.com/erhant/circom101

Circom circuits explained in depth.
https://github.com/erhant/circom101

blog circom circomkit mdbook tutorial

Last synced: 30 days ago
JSON representation

Circom circuits explained in depth.

Awesome Lists containing this project

README

          



Circom101



Circom circuit implementations with in-depth explanations.



License: MIT


Workflow: Tests


Workflow: Book Deployment

## Setup

Install packages with:

```sh
bun install
```

## Book

We use `mdbook` to create the book, see the [book](./book/) folder. You can build the book with the following:

```sh
bun book # automatically serve the book
bun book:build # build without serving
```

The book is based on the [mdBook template](https://github.com/erhant/mdbook-template) and is published at .

## Tests

Run circuit tests with:

```sh
bun test

# with pattern matching
bun test pattern-name

# with explicit paths
bun test ./path/to/some.test.ts
```

The tests make use of [Circomkit](https://github.com/erhant/circomkit).

## Style

Check the formatting with the following command:

```sh
bun format
```

This command checks the test code with [Prettier](https://www.npmjs.com/package/prettier).