Skip to content

Commit

Permalink
Merge pull request #670 from semaphore-protocol/docs/update-readme
Browse files Browse the repository at this point in the history
Update readme file
  • Loading branch information
cedoor authored Feb 28, 2024
2 parents 17fe1f7 + ced57c3 commit 00a570d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
12 changes: 2 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,14 +334,6 @@ yarn commit

It will also automatically check that the modified files comply with ESLint and Prettier rules.

### Snark artifacts

Download the Semaphore snark artifacts needed to generate and verify proofs:

```bash
yarn download:snark-artifacts
```

### Testing

Run [Jest](https://jestjs.io/) to test the JS libraries:
Expand All @@ -364,10 +356,10 @@ yarn test

### Build libraries & compile contracts

Run [Rollup](https://www.rollupjs.org) to build all the packages:
Run [Rollup](https://www.rollupjs.org) and [TheGraph](https://www.npmjs.com/package/@graphprotocol/graph-cli) to build all the packages and the subgraph:

```bash
yarn build:libraries
yarn build
```

Compile the smart contracts with [Hardhat](https://hardhat.org/):
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"bugs": "https://github.com/semaphore-protocol/semaphore/issues",
"private": true,
"scripts": {
"build": "yarn build:subgraph && yarn build:libraries",
"build:libraries": "yarn workspaces foreach -A -t --no-private run build",
"build:subgraph": "yarn workspace semaphore-subgraph codegen sepolia && yarn workspace semaphore-subgraph build",
"compile:contracts": "yarn workspace semaphore-contracts compile",
Expand Down

0 comments on commit 00a570d

Please sign in to comment.