Skip to content

Commit

Permalink
support zircuit
Browse files Browse the repository at this point in the history
  • Loading branch information
hujw77 committed Aug 9, 2024
1 parent b700038 commit fa0707b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ CREATE3Factory:
- avalanche
- astar-zkevm
- linea
- zircuit
1 change: 1 addition & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ scroll = "https://rpc.scroll.io"
moonbeam = "https://rpc.api.moonbeam.network"
linea = "https://1rpc.io/linea"
astar = "https://rpc.startale.com/astar-zkevm"
zircuit = "https://zircuit1-mainnet.p2pify.com"

[etherscan]
blast = { key = "${ETHERSCAN_BLAST_KEY}", url = "https://api.blastscan.io/api"}
Expand Down
3 changes: 3 additions & 0 deletions script/Chains.sol
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ library Chains {
uint256 internal constant Base = 8453;
uint256 internal constant Arbitrum = 42161;
uint256 internal constant Avalanche = 43114;
uint256 internal constant Zircuit = 48900;
uint256 internal constant Linea = 59144;
uint256 internal constant Mumbai = 80001;
uint256 internal constant Blast = 81457;
Expand Down Expand Up @@ -73,6 +74,8 @@ library Chains {
return "avalanche";
} else if (chainid == Linea) {
return "linea";
} else if (chainid == Zircuit) {
return "zircuit";
} else if (chainid == Mumbai) {
return "mumbai";
} else if (chainid == Blast) {
Expand Down

0 comments on commit fa0707b

Please sign in to comment.