mirror of
https://github.com/semaphore-protocol/semaphore.git
synced 2026-01-10 07:08:17 -05:00
Chore/mainnet deployments (#869)
* chore(contracts): deploy semaphore contracts on base re #865 * chore(contracts): deploy semaphore contracts on linea re #865 * refactor(data): add types for new networks re #865
This commit is contained in:
@@ -54,7 +54,9 @@ Supported networks:
|
||||
- `matic`
|
||||
- `polygon-amoy`
|
||||
- `base-sepolia`
|
||||
- `base`
|
||||
- `linea-sepolia`
|
||||
- `linea`
|
||||
|
||||
## 🛠 Install
|
||||
|
||||
|
||||
@@ -54,7 +54,15 @@ const hardhatConfig: HardhatUserConfig = {
|
||||
chainId: 59141,
|
||||
urls: {
|
||||
apiURL: "https://api-sepolia.lineascan.build/api",
|
||||
browserURL: "https://sepolia.lineascan.build/address"
|
||||
browserURL: "https://sepolia.lineascan.build"
|
||||
}
|
||||
},
|
||||
{
|
||||
network: "linea",
|
||||
chainId: 59144,
|
||||
urls: {
|
||||
apiURL: "https://api.lineascan.build/api",
|
||||
browserURL: "https://lineascan.build"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@@ -7,6 +7,10 @@ export type EthersNetwork =
|
||||
| "arbitrum-sepolia"
|
||||
| "optimism"
|
||||
| "optimism-sepolia"
|
||||
| "base"
|
||||
| "base-sepolia"
|
||||
| "linea"
|
||||
| "linea-sepolia"
|
||||
|
||||
export type GroupOptions = {
|
||||
members?: boolean
|
||||
|
||||
@@ -178,5 +178,45 @@
|
||||
"startBlock": 3928632
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"network": "base",
|
||||
"contracts": [
|
||||
{
|
||||
"name": "SemaphoreVerifier",
|
||||
"address": "0xe538f9DeeE04A397decb1E7dc5D16fD6f123c043",
|
||||
"startBlock": 20553357
|
||||
},
|
||||
{
|
||||
"name": "PoseidonT3",
|
||||
"address": "0xB43122Ecb241DD50062641f089876679fd06599a",
|
||||
"startBlock": 20553357
|
||||
},
|
||||
{
|
||||
"name": "Semaphore",
|
||||
"address": "0x1e0d7FF1610e480fC93BdEC510811ea2Ba6d7c2f",
|
||||
"startBlock": 20553357
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"network": "linea",
|
||||
"contracts": [
|
||||
{
|
||||
"name": "SemaphoreVerifier",
|
||||
"address": "0xe538f9DeeE04A397decb1E7dc5D16fD6f123c043",
|
||||
"startBlock": 10235849
|
||||
},
|
||||
{
|
||||
"name": "PoseidonT3",
|
||||
"address": "0xB43122Ecb241DD50062641f089876679fd06599a",
|
||||
"startBlock": 10235849
|
||||
},
|
||||
{
|
||||
"name": "Semaphore",
|
||||
"address": "0x1e0d7FF1610e480fC93BdEC510811ea2Ba6d7c2f",
|
||||
"startBlock": 10235849
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
@@ -47,10 +47,22 @@ export default {
|
||||
chainId: 84532,
|
||||
explorer: "https://sepolia.basescan.org"
|
||||
},
|
||||
base: {
|
||||
name: "Base",
|
||||
url: "https://mainnet.base.org",
|
||||
chainId: 8453,
|
||||
explorer: "https://basescan.org"
|
||||
},
|
||||
"linea-sepolia": {
|
||||
name: "Linea Sepolia",
|
||||
url: "https://rpc.sepolia.linea.build",
|
||||
chainId: 59141,
|
||||
explorer: "https://sepolia.lineascan.build"
|
||||
},
|
||||
linea: {
|
||||
name: "Linea",
|
||||
url: "https://rpc.linea.build",
|
||||
chainId: 59144,
|
||||
explorer: "https://lineascan.build"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user