From 0469eb2e3a9888a36e96e6b60bf6a90ddbd7059b Mon Sep 17 00:00:00 2001 From: Alexander Bradshaw <40804513+alexanderbradshaw@users.noreply.github.com> Date: Wed, 15 Jan 2025 16:59:09 -0600 Subject: [PATCH] Adding in Ink Mainnet network information (#6062) * Adding in Ink Mainnet network information * fix: sort the ink chains by chainId --------- Co-authored-by: Luis Schaab --- .changeset/flat-hornets-yell.md | 5 +++++ .../hardhat-verify/src/internal/chain-config.ts | 16 ++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 .changeset/flat-hornets-yell.md diff --git a/.changeset/flat-hornets-yell.md b/.changeset/flat-hornets-yell.md new file mode 100644 index 0000000000..fb04e47427 --- /dev/null +++ b/.changeset/flat-hornets-yell.md @@ -0,0 +1,5 @@ +--- +"@nomicfoundation/hardhat-verify": patch +--- + +Ink networks added diff --git a/packages/hardhat-verify/src/internal/chain-config.ts b/packages/hardhat-verify/src/internal/chain-config.ts index 056e24d376..b483fe9a65 100644 --- a/packages/hardhat-verify/src/internal/chain-config.ts +++ b/packages/hardhat-verify/src/internal/chain-config.ts @@ -202,6 +202,14 @@ export const builtinChains: ChainConfig[] = [ browserURL: "https://snowtrace.io/", }, }, + { + network: "ink", + chainId: 57073, + urls: { + apiURL: "https://explorer.inkonchain.com/api/v2", + browserURL: "https://explorer.inkonchain.com/", + }, + }, { network: "polygonMumbai", chainId: 80001, @@ -242,6 +250,14 @@ export const builtinChains: ChainConfig[] = [ browserURL: "https://sepolia.arbiscan.io/", }, }, + { + network: "inkSepolia", + chainId: 763373, + urls: { + apiURL: "https://explorer-sepolia.inkonchain.com/api/v2", + browserURL: "https://explorer-sepolia.inkonchain.com/", + }, + }, { network: "sepolia", chainId: 11155111,