Skip to content

Commit

Permalink
➕ Add Shape/Etherlink Test and 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 Jan 13, 2025
1 parent bf1f2b1 commit 6b56f6c
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 6 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,8 @@ The current available networks are:
- `flowTestnet`
- `inkTestnet`
- `morphTestnet`
- `shapeTestnet`
- `etherlinkTestnet`
- **EVM-Based Production Networks:**
- `ethMain`
- `bscMain`
Expand Down Expand Up @@ -305,6 +307,8 @@ The current available networks are:
- `flowMain`
- `inkMain`
- `morphMain`
- `shapeMain`
- `etherlinkMain`

> [!IMPORTANT]
> Note that you must ensure that your deployment account has sufficient funds on **all** target networks.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"@types/node": "^22.10.5",
"chai": "^4.5.0",
"eslint": "^9.18.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-prettier": "^10.0.1",
"ethers": "^6.13.5",
"hardhat": "^2.22.17",
"mocha": "^11.0.1",
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions src/utils/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,14 @@ export const networksInfo = {
url: "https://explorer-holesky.morphl2.io",
chainId: 2810,
},
shapeTestnet: {
url: "https://explorer-sepolia.shape.network",
chainId: 11011,
},
etherlinkTestnet: {
url: "https://testnet.explorer.etherlink.com",
chainId: 128123,
},
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 @@ -240,6 +248,14 @@ export const networksInfo = {
url: "https://explorer.morphl2.io",
chainId: 2818,
},
shapeMain: {
url: "https://shapescan.xyz",
chainId: 360,
},
etherlinkMain: {
url: "https://explorer.etherlink.com",
chainId: 42793,
},
} as const;

// Define a type `SupportedNetwork` that represents the union of all possible network names
Expand Down

0 comments on commit 6b56f6c

Please sign in to comment.