Skip to content

Commit

Permalink
chore(contracts): deploy semaphore contracts on linea
Browse files Browse the repository at this point in the history
re #865
  • Loading branch information
cedoor committed Oct 2, 2024
1 parent 5c956a4 commit 56d639f
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 1 deletion.
1 change: 1 addition & 0 deletions apps/subgraph/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ Supported networks:
- `base-sepolia`
- `base`
- `linea-sepolia`
- `linea`

## 🛠 Install

Expand Down
10 changes: 9 additions & 1 deletion packages/contracts/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
]
Expand Down
20 changes: 20 additions & 0 deletions packages/utils/src/networks/deployed-contracts.json
Original file line number Diff line number Diff line change
Expand Up @@ -198,5 +198,25 @@
"startBlock": 20553357
}
]
},
{
"network": "linea",
"contracts": [
{
"name": "SemaphoreVerifier",
"address": "0xe538f9DeeE04A397decb1E7dc5D16fD6f123c043",
"startBlock": 10235849
},
{
"name": "PoseidonT3",
"address": "0xB43122Ecb241DD50062641f089876679fd06599a",
"startBlock": 10235849
},
{
"name": "Semaphore",
"address": "0x1e0d7FF1610e480fC93BdEC510811ea2Ba6d7c2f",
"startBlock": 10235849
}
]
}
]
6 changes: 6 additions & 0 deletions packages/utils/src/networks/supported-networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,11 @@ export default {
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"
}
}

0 comments on commit 56d639f

Please sign in to comment.