@semaphore-protocol/contracts 4.0.0-beta.14 → 4.0.0-beta.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -95,13 +95,13 @@ yarn test:report-gas
|
|
|
95
95
|
Deploy the `Semaphore.sol` contract without any parameter:
|
|
96
96
|
|
|
97
97
|
```bash
|
|
98
|
-
yarn deploy
|
|
98
|
+
yarn deploy
|
|
99
99
|
```
|
|
100
100
|
|
|
101
101
|
or deploy it by providing the addresses of the contracts/libraries on which it depends:
|
|
102
102
|
|
|
103
103
|
```bash
|
|
104
|
-
yarn deploy
|
|
104
|
+
yarn deploy --semaphoreVerifier <address>
|
|
105
105
|
```
|
|
106
106
|
|
|
107
107
|
> **Note**
|
|
@@ -110,11 +110,11 @@ yarn deploy:semaphore --semaphoreVerifier <address>
|
|
|
110
110
|
If you want to deploy your contract in a specific network you can set up the `DEFAULT_NETWORK` variable in your `.env` file with the name of one of our supported networks (hardhat, localhost, sepolia, arbitrum). Or you can specify it as an option:
|
|
111
111
|
|
|
112
112
|
```bash
|
|
113
|
-
yarn deploy
|
|
114
|
-
yarn deploy
|
|
115
|
-
yarn deploy
|
|
116
|
-
yarn deploy
|
|
117
|
-
yarn deploy
|
|
113
|
+
yarn deploy --network sepolia
|
|
114
|
+
yarn deploy --network mumbai
|
|
115
|
+
yarn deploy --network optimism-sepolia
|
|
116
|
+
yarn deploy --network arbitrum-sepolia
|
|
117
|
+
yarn deploy --network arbitrum
|
|
118
118
|
```
|
|
119
119
|
|
|
120
120
|
If you want to deploy contracts on Sepolia or Arbitrum, remember to provide a valid private key and an Infura API in your `.env` file.
|