Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
guipublic authored Mar 26, 2024
1 parent 12b9218 commit 7c1d276
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,24 @@
# Noir Starters
# ZK Benchmark

This is a reference repo to help you get started with writing zero-knowledge circuits with [Noir](https://noir-lang.org/).
This is a small tool that run Circom and Noir on a set of examples from the tests folder.

Each project is an example you can use as template. Feel free to mix them in order to find the best combination of technology that suits your needs.

## Getting started

If you have [node](https://nodejs.org/en/download) installed, just open a terminal and run:
## Getting started

```bash
npx create-noir
```
You need to have both Noir and Circom properly installed. Then you need to provide binary paths in circom.rs and noir.rs

### Templates
### Tests

- Foundry: [`./with-foundry`](./with-foundry)
- Vite + Hardhat: [`./vite-hardhat`](./vite-hardhat)
Tests are using [Circom lib](https://github.com/iden3/circomlib/) and [Noir stdlib](https://github.com/noir-lang/noir/tree/master/noir_stdlib)

## Example Projects
- eddsa: eddsa signature verification. Not enabled yet
- gates: AND the inputs together
- mimc: mimc hash of the input
- pedersen: pedersen hash of the input
- poseidon: poseidon hash of the input
- sha256: sha256 hash of the input

You can view more complete example projects written in Noir in the [Noir Examples](https://github.com/noir-lang/noir-examples) repo.

## Support

Expand Down

0 comments on commit 7c1d276

Please sign in to comment.