Skip to content

Commit

Permalink
➕ Add SX Network Test and Main Network Deployments
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Marco Caversaccio <[email protected]>
  • Loading branch information
pcaversaccio committed Oct 26, 2024
1 parent 24e0313 commit 7fe3be7
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 42 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ The current available networks are:
- `plumeTestnet`
- `unichainTestnet`
- `xdcTestnet`
- `sxTestnet`
- **EVM-Based Production Networks:**
- `ethMain`
- `bscMain`
Expand Down Expand Up @@ -287,6 +288,7 @@ The current available networks are:
- `sapphireMain`
- `worldChainMain`
- `xdcMain`
- `sxMain`

> [!IMPORTANT]
> Note that you must ensure that your deployment account has sufficient funds on **all** target networks.
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "xdeployer",
"version": "3.1.4",
"version": "3.1.5",
"description": "Hardhat plugin to deploy your smart contracts across multiple EVM chains with the same deterministic address.",
"author": "Pascal Marco Caversaccio <[email protected]>",
"license": "MIT",
Expand Down Expand Up @@ -46,12 +46,12 @@
"@types/chai": "^4.3.20",
"@types/fs-extra": "^11.0.4",
"@types/mocha": "^10.0.9",
"@types/node": "^22.7.8",
"@types/node": "^22.8.1",
"chai": "^4.5.0",
"eslint": "^9.13.0",
"eslint-config-prettier": "^9.1.0",
"ethers": "^6.13.4",
"hardhat": "^2.22.14",
"hardhat": "^2.22.15",
"mocha": "^10.7.3",
"prettier": "^3.3.3",
"prettier-plugin-solidity": "^1.4.1",
Expand All @@ -62,6 +62,6 @@
"peerDependencies": {
"@nomicfoundation/hardhat-ethers": "^3.0.8",
"ethers": "^6.13.4",
"hardhat": "^2.22.14"
"hardhat": "^2.22.15"
}
}
76 changes: 38 additions & 38 deletions pnpm-lock.yaml

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

8 changes: 8 additions & 0 deletions src/utils/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ export const networksInfo = {
url: "https://testnet.xdcscan.com",
chainId: 51,
},
sxTestnet: {
url: "https://explorerl2.toronto.sx.technology",
chainId: 79479957,
},
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 @@ -168,6 +172,10 @@ export const networksInfo = {
url: "https://xdcscan.com",
chainId: 50,
},
sxMain: {
url: "https://explorerl2.sx.technology",
chainId: 4162,
},
} as const;

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

0 comments on commit 7fe3be7

Please sign in to comment.