Skip to content

Commit

Permalink
➕ Add 5ireChain Test and Main Network Configurations
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
  • Loading branch information
pcaversaccio committed Sep 2, 2024
1 parent 2159d48 commit fcda38b
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 6 deletions.
34 changes: 34 additions & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -822,6 +822,21 @@ const config: HardhatUserConfig = {
accounts,
ledgerAccounts,
},
"5ireChainTestnet": {
chainId: 997,
url: vars.get(
"5IRE_CHAIN_TESTNET_URL",
"https://rpc.testnet.5ire.network",
),
accounts,
ledgerAccounts,
},
"5ireChainMain": {
chainId: 995,
url: vars.get("5IRE_CHAIN_MAINNET_URL", "https://rpc.5ire.network"),
accounts,
ledgerAccounts,
},
},
xdeploy: {
contract: "CobieEscrow",
Expand Down Expand Up @@ -1012,6 +1027,9 @@ const config: HardhatUserConfig = {
// For ZetaChain testnet & mainnet
zetaChain: vars.get("ZETA_CHAIN_API_KEY", ""),
zetaChainTestnet: vars.get("ZETA_CHAIN_API_KEY", ""),
// For 5ireChain testnet & mainnet
"5ireChain": vars.get("5IRE_CHAIN_API_KEY", ""),
"5ireChainTestnet": vars.get("5IRE_CHAIN_API_KEY", ""),
},
customChains: [
{
Expand Down Expand Up @@ -1620,6 +1638,22 @@ const config: HardhatUserConfig = {
browserURL: "https://zetachain-athens-3.blockscout.com",
},
},
{
network: "5ireChain",
chainId: 995,
urls: {
apiURL: "https://5irescan.io/api",
browserURL: "https://5irescan.io",
},
},
{
network: "5ireChainTestnet",
chainId: 997,
urls: {
apiURL: "https://testnet.5irescan.io/api",
browserURL: "https://testnet.5irescan.io",
},
},
],
},
tenderly: {
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@
"deploy:taikomain": "npx hardhat run --network taikoMain scripts/deploy.ts",
"deploy:zetachaintestnet": "npx hardhat run --network zetaChainTestnet scripts/deploy.ts",
"deploy:zetachainmain": "npx hardhat run --network zetaChainMain scripts/deploy.ts",
"deploy:5irechaintestnet": "npx hardhat run --network 5ireChainTestnet scripts/deploy.ts",
"deploy:5irechainmain": "npx hardhat run --network 5ireChainMain scripts/deploy.ts",
"prettier:check": "npx prettier -c \"**/*.{js,ts,md,sol,json,yml,yaml}\"",
"prettier:fix": "npx prettier -w \"**/*.{js,ts,md,sol,json,yml,yaml}\"",
"solhint:check": "npx solhint \"contracts/**/*.sol\"",
Expand Down Expand Up @@ -182,7 +184,7 @@
"typechain": "^8.3.2",
"typescript": "^5.5.4",
"typescript-eslint": "^8.3.0",
"xdeployer": "^3.0.16",
"xdeployer": "^3.0.17",
"zksync-ethers": "^6.12.0"
}
}
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fcda38b

Please sign in to comment.