Skip to content

Commit

Permalink
chore(circuits): fix noir conf
Browse files Browse the repository at this point in the history
  • Loading branch information
cedoor committed Dec 4, 2023
1 parent 1b605d4 commit a599569
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ jobs:
- name: Setup Circom
run: wget https://github.com/iden3/circom/releases/latest/download/circom-linux-amd64 && sudo mv ./circom-linux-amd64 /usr/bin/circom && sudo chmod +x /usr/bin/circom

- name: Install Nargo
uses: noir-lang/[email protected]

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
Expand Down
7 changes: 5 additions & 2 deletions packages/circuits/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
| This package offers a collection of reusable circuits designed for integration into other projects or protocols, promoting code modularization within the zero-knowledge ecosystem. |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

> [!IMPORTANT]
> Installation of [Circom](https://docs.circom.io/getting-started/installation/) and [Nargo](https://noir-lang.org/getting_started/nargo_installation) required for circuit tests.
## Circuits

- Circom:
Expand All @@ -45,7 +48,7 @@

## 🛠 Install

### npm or yarn
### Using NPM or Yarn (Circom circuits)

Install the `@zk-kit/circuits` package with npm:

Expand All @@ -59,7 +62,7 @@ or yarn:
yarn add @zk-kit/circuits
```

### Using Nargo (for Noir circuits)
### Using Nargo (Noir circuits)

In your Nargo.toml file, add the following dependency:

Expand Down
Empty file removed packages/circuits/noir/.gitkeep
Empty file.
1 change: 0 additions & 1 deletion packages/circuits/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"circom/**/*.circom",
"!circom/main",
"!circom/test",
"noir",
"LICENSE",
"README.md"
],
Expand Down

0 comments on commit a599569

Please sign in to comment.