Skip to content

Commit

Permalink
Merge pull request #66 from semaphore-protocol/cedoor-patch-1
Browse files Browse the repository at this point in the history
docs: update README.md
  • Loading branch information
cedoor authored Jul 19, 2024
2 parents 3b8aa0f + 9bef451 commit 0fbec19
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,25 +65,22 @@ yarn dev
1. Go to the `apps/contracts` directory and deploy your contract:

```bash
yarn deploy --semaphore <semaphore-address> --group <group-id> --network sepolia
yarn deploy --semaphore <semaphore-address> --network sepolia
```

2. Update the `apps/web-app/.env.$(NODE_ENV).local` files with your new contract address, the group id and the semaphore contract address.
2. Update the `apps/web-app/.env.production` file with your new contract address.

3. Copy your contract artifacts from `apps/contracts/artifacts/contracts` folder to `apps/web-app/contract-artifacts` folder.

> **Note**
> Check the Semaphore contract addresses [here](https://semaphore.pse.dev/docs/deployed-contracts).
> **Warning**
> The group id is a number!
> [!NOTE]
> Check the Semaphore contract addresses [here](https://docs.semaphore.pse.dev/deployed-contracts).
### Verify the contract

Verify your contract on Etherscan:

```bash
yarn verify <your-contract-address> <semaphore-address> <group-id> --network sepolia
yarn verify <your-contract-address> <semaphore-address> --network sepolia
```

> **Note**
Expand Down

0 comments on commit 0fbec19

Please sign in to comment.