This is a template for building Noir libraries. It includes a basic example of a Noir library with an example bin circuit and test suite.
This Starter Template includes:
- A basic library at
lib/
- Example bin circuit at
examples/lib_example/
- Tests at
tests/
- CI Scripts at
scripts/
Add a brief description of the library
This library is tested to work as of Noir version 0.36.0 & 1.0.0-beta.x.
Benchmarks are ignored by git
and checked on pull-request. As such, benchmarks may be generated
with the following command.
./scripts/build-gates-report.sh
The benchmark will be generated at ./gates_report.json
.
To profile the circuit, run the following command:
./scripts/profile.sh
In your Nargo.toml file, add the version of this library you would like to install under dependency:
[dependencies]
LIBRARY = { tag = "v0.1.0", git = "https://github.com/noir-lang/LIBRARY_NAME" }
PLACEHOLDER