From 2937bb24c1183645d42254df4abf9ccf802c30c4 Mon Sep 17 00:00:00 2001 From: Pascal Marco Caversaccio Date: Tue, 11 Feb 2025 18:17:27 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9E=95=20Add=20Corn=20Test=20and=20Corn/Unic?= =?UTF-8?q?hain=20Main=20Networks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pascal Marco Caversaccio --- README.md | 3 +++ src/utils/networks.ts | 12 ++++++++++++ 2 files changed, 15 insertions(+) diff --git a/README.md b/README.md index 8ac895d..7fc7033 100644 --- a/README.md +++ b/README.md @@ -253,6 +253,7 @@ The current available networks are: - `hemiTestnet` - `berachainTestnet` - `monadTestnet` + - `cornTestnet` - **EVM-Based Production Networks:** - `ethMain` - `bscMain` @@ -303,6 +304,7 @@ The current available networks are: - `sapphireMain` - `worldChainMain` - `plumeMain` + - `unichainMain` - `xdcMain` - `sxMain` - `liskMain` @@ -318,6 +320,7 @@ The current available networks are: - `swellMain` - `hemiMain` - `berachainMain` + - `cornMain` > [!IMPORTANT] > Note that you must ensure that your deployment account has sufficient funds on **all** target networks. diff --git a/src/utils/networks.ts b/src/utils/networks.ts index 307f7f3..2f23dc5 100644 --- a/src/utils/networks.ts +++ b/src/utils/networks.ts @@ -165,6 +165,10 @@ export const networksInfo = { url: "https://testnet.monadexplorer.com", chainId: 10143, }, + cornTestnet: { + url: "https://testnet.cornscan.io", + chainId: 21000001, + }, ethMain: { url: "https://etherscan.io", chainId: 1 }, bscMain: { url: "https://bscscan.com", chainId: 56 }, optimismMain: { url: "https://optimistic.etherscan.io", chainId: 10 }, @@ -232,6 +236,10 @@ export const networksInfo = { url: "https://explorer.plumenetwork.xyz", chainId: 98865, }, + unichainMain: { + url: "https://uniscan.xyz", + chainId: 130, + }, xdcMain: { url: "https://xdcscan.com", chainId: 50, @@ -292,6 +300,10 @@ export const networksInfo = { url: "https://berascan.com", chainId: 80094, }, + cornMain: { + url: "https://cornscan.io", + chainId: 21000000, + }, } as const; // Define a type `SupportedNetwork` that represents the union of all possible network names