diff --git a/hardhat.config.ts b/hardhat.config.ts index c7a07c5..4daf95e 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -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", @@ -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: [ { @@ -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: { diff --git a/package.json b/package.json index 9581855..98c1677 100644 --- a/package.json +++ b/package.json @@ -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\"", @@ -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" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8a167bd..8670216 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -111,8 +111,8 @@ importers: specifier: ^8.3.0 version: 8.3.0(eslint@9.9.1)(typescript@5.5.4) xdeployer: - specifier: ^3.0.16 - version: 3.0.16(@nomicfoundation/hardhat-ethers@3.0.7(ethers@6.13.2(bufferutil@4.0.8)(utf-8-validate@5.0.10))(hardhat@2.22.9(bufferutil@4.0.8)(ts-node@10.9.2(@types/node@22.5.2)(typescript@5.5.4))(typescript@5.5.4)(utf-8-validate@5.0.10)))(ethers@6.13.2(bufferutil@4.0.8)(utf-8-validate@5.0.10))(hardhat@2.22.9(bufferutil@4.0.8)(ts-node@10.9.2(@types/node@22.5.2)(typescript@5.5.4))(typescript@5.5.4)(utf-8-validate@5.0.10)) + specifier: ^3.0.17 + version: 3.0.17(@nomicfoundation/hardhat-ethers@3.0.7(ethers@6.13.2(bufferutil@4.0.8)(utf-8-validate@5.0.10))(hardhat@2.22.9(bufferutil@4.0.8)(ts-node@10.9.2(@types/node@22.5.2)(typescript@5.5.4))(typescript@5.5.4)(utf-8-validate@5.0.10)))(ethers@6.13.2(bufferutil@4.0.8)(utf-8-validate@5.0.10))(hardhat@2.22.9(bufferutil@4.0.8)(ts-node@10.9.2(@types/node@22.5.2)(typescript@5.5.4))(typescript@5.5.4)(utf-8-validate@5.0.10)) zksync-ethers: specifier: ^6.12.0 version: 6.12.0(ethers@6.13.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)) @@ -4087,8 +4087,8 @@ packages: utf-8-validate: optional: true - xdeployer@3.0.16: - resolution: {integrity: sha512-U67mPWVGwtUrhpP228GAQixtxjSqO+BbAV6zVroGD6B+tJ9HnyWR6ptv23BWZgaFUQ2E/4xFWXQIJplYO0gOlQ==} + xdeployer@3.0.17: + resolution: {integrity: sha512-7iHMxOKYzlTJNa3reIii4ge0g/MaJlNjqw8lRWueCTRV+DCJjXFHGvSodJ4Y3AvDvCsxHuSzx09shFMsLK2Msw==} engines: {node: '>=14.0.0'} peerDependencies: '@nomicfoundation/hardhat-ethers': ^3.0.7 @@ -9161,7 +9161,7 @@ snapshots: bufferutil: 4.0.8 utf-8-validate: 5.0.10 - xdeployer@3.0.16(@nomicfoundation/hardhat-ethers@3.0.7(ethers@6.13.2(bufferutil@4.0.8)(utf-8-validate@5.0.10))(hardhat@2.22.9(bufferutil@4.0.8)(ts-node@10.9.2(@types/node@22.5.2)(typescript@5.5.4))(typescript@5.5.4)(utf-8-validate@5.0.10)))(ethers@6.13.2(bufferutil@4.0.8)(utf-8-validate@5.0.10))(hardhat@2.22.9(bufferutil@4.0.8)(ts-node@10.9.2(@types/node@22.5.2)(typescript@5.5.4))(typescript@5.5.4)(utf-8-validate@5.0.10)): + xdeployer@3.0.17(@nomicfoundation/hardhat-ethers@3.0.7(ethers@6.13.2(bufferutil@4.0.8)(utf-8-validate@5.0.10))(hardhat@2.22.9(bufferutil@4.0.8)(ts-node@10.9.2(@types/node@22.5.2)(typescript@5.5.4))(typescript@5.5.4)(utf-8-validate@5.0.10)))(ethers@6.13.2(bufferutil@4.0.8)(utf-8-validate@5.0.10))(hardhat@2.22.9(bufferutil@4.0.8)(ts-node@10.9.2(@types/node@22.5.2)(typescript@5.5.4))(typescript@5.5.4)(utf-8-validate@5.0.10)): dependencies: '@nomicfoundation/hardhat-ethers': 3.0.7(ethers@6.13.2(bufferutil@4.0.8)(utf-8-validate@5.0.10))(hardhat@2.22.9(bufferutil@4.0.8)(ts-node@10.9.2(@types/node@22.5.2)(typescript@5.5.4))(typescript@5.5.4)(utf-8-validate@5.0.10)) ethers: 6.13.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)