Skip to content

Commit

Permalink
➕ Add Corn Test and Corn/Unichain Main Networks
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Marco Caversaccio <[email protected]>
  • Loading branch information
pcaversaccio committed Feb 11, 2025
1 parent 42693ce commit 2937bb2
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ The current available networks are:
- `hemiTestnet`
- `berachainTestnet`
- `monadTestnet`
- `cornTestnet`
- **EVM-Based Production Networks:**
- `ethMain`
- `bscMain`
Expand Down Expand Up @@ -303,6 +304,7 @@ The current available networks are:
- `sapphireMain`
- `worldChainMain`
- `plumeMain`
- `unichainMain`
- `xdcMain`
- `sxMain`
- `liskMain`
Expand All @@ -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.
Expand Down
12 changes: 12 additions & 0 deletions src/utils/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2937bb2

Please sign in to comment.