Skip to content

Commit 4fa9f41

Browse files
committed
chore(contracts): deploy semaphore on optimism goerli network
re #234 Former-commit-id: 55a48a2
1 parent 64b9ef2 commit 4fa9f41

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

packages/contracts/contracts/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ If you want to deploy your contract in a specific network you can set up the `DE
113113
yarn deploy:semaphore --network goerli
114114
yarn deploy:semaphore --network sepolia
115115
yarn deploy:semaphore --network mumbai
116+
yarn deploy:semaphore --network optimism-goerli
116117
yarn deploy:semaphore --network arbitrum
117118
```
118119

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"Pairing": "0xEFD83f827FA5B0496359D817c6CD8a5AA5D2aCe5",
3+
"SemaphoreVerifier": "0x3d3df6CFc6BFf68d9693e097F32bF4a9903E77a5",
4+
"Poseidon": "0x5f4edC58142f4395D1D536e793137A0252dA5a49",
5+
"IncrementalBinaryTree": "0x181B7f34538cE3BceC68597d4A212aB3f7881648",
6+
"Semaphore": "0x220fBdB6F996827b1Cf12f0C181E8d5e6de3a36F"
7+
}

packages/contracts/hardhat.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ function getNetworks(): NetworksUserConfig {
4040
chainId: 80001,
4141
accounts
4242
},
43+
"optimism-goerli": {
44+
url: `https://optimism-goerli.infura.io/v3/${infuraApiKey}`,
45+
chainId: 420,
46+
accounts
47+
},
4348
arbitrum: {
4449
url: `https://arbitrum-mainnet.infura.io/v3/${infuraApiKey}`,
4550
chainId: 42161,

0 commit comments

Comments
 (0)