diff --git a/README.md b/README.md index 9c4795e..f239124 100644 --- a/README.md +++ b/README.md @@ -191,7 +191,6 @@ The current available networks are: - `arbitrumSepolia` - `mumbai` - `polygonZkEVMTestnet` - - `hecoTestnet` - `fantomTestnet` - `fuji` - `sokol` diff --git a/src/index.ts b/src/index.ts index dbfd99a..22c6dbe 100644 --- a/src/index.ts +++ b/src/index.ts @@ -158,7 +158,10 @@ task( chainId: chainId.toString(), contract: hre.config.xdeploy.contract, txHash: createReceipt[i].hash, - txHashLink: `${explorers[idx]}tx/${createReceipt[i].hash}`, + txHashLink: + hre.config.xdeploy.networks[i] == "hecoMain" + ? `${explorers[idx]}transaction/${createReceipt[i].hash}` + : `${explorers[idx]}tx/${createReceipt[i].hash}`, address: computedContractAddress, addressLink: `${explorers[idx]}address/${computedContractAddress}`, receipt: createReceipt[i].toJSON(), diff --git a/src/networks.ts b/src/networks.ts index 3107c8d..83de200 100644 --- a/src/networks.ts +++ b/src/networks.ts @@ -12,7 +12,6 @@ export const networks = [ "arbitrumSepolia", "mumbai", "polygonZkEVMTestnet", - "hecoTestnet", "fantomTestnet", "fuji", "sokol", @@ -78,7 +77,6 @@ export const explorers = [ "https://sepolia.arbiscan.io/", "https://mumbai.polygonscan.com/", "https://testnet-zkevm.polygonscan.com/", - "https://testnet.hecoinfo.com/", "https://testnet.ftmscan.com/", "https://testnet.snowtrace.io/", "https://blockscout.com/poa/sokol/", @@ -108,7 +106,7 @@ export const explorers = [ "https://nova.arbiscan.io/", "https://polygonscan.com/", "https://zkevm.polygonscan.com/", - "https://www.hecoinfo.com/", + "https://hecoscan.io/#/", "https://ftmscan.com/", "https://snowtrace.io/", "https://gnosisscan.io/",