Skip to content

Commit

Permalink
➕ Add Superseed Main Network Configurations
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
  • Loading branch information
pcaversaccio committed Dec 6, 2024
1 parent 5a0d2e8 commit 0bbfb75
Show file tree
Hide file tree
Showing 4 changed files with 198 additions and 149 deletions.
2 changes: 1 addition & 1 deletion contracts/lib/forge-std
33 changes: 32 additions & 1 deletion hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -950,6 +950,18 @@ const config: HardhatUserConfig = {
accounts,
ledgerAccounts,
},
superseedMain: {
chainId: 5330,
url: vars.get("SUPERSEED_MAINNET_URL", "https://mainnet.superseed.xyz"),
accounts,
ledgerAccounts,
},
storyTestnet: {
chainId: 1516,
url: vars.get("STORY_TESTNET_URL", "https://odyssey.storyrpc.io"),
accounts,
ledgerAccounts,
},
},
xdeploy: {
// Change this name to the name of your main contract
Expand Down Expand Up @@ -1191,8 +1203,11 @@ const config: HardhatUserConfig = {
// For Metal L2 testnet & mainnet
metalL2: vars.get("METALL2_API_KEY", ""),
metalL2Testnet: vars.get("METALL2_API_KEY", ""),
// For Superseed testnet
// For Superseed testnet & mainnet
superseed: vars.get("SUPERSEED_API_KEY", ""),
superseedTestnet: vars.get("SUPERSEED_API_KEY", ""),
// For Story testnet
storyTestnet: vars.get("STORY_API_KEY", ""),
},
customChains: [
{
Expand Down Expand Up @@ -1945,6 +1960,14 @@ const config: HardhatUserConfig = {
browserURL: "https://testnet.explorer.metall2.com",
},
},
{
network: "superseed",
chainId: 5330,
urls: {
apiURL: "https://explorer.superseed.xyz/api",
browserURL: "https://explorer.superseed.xyz",
},
},
{
network: "superseedTestnet",
chainId: 53302,
Expand All @@ -1953,6 +1976,14 @@ const config: HardhatUserConfig = {
browserURL: "https://sepolia-explorer.superseed.xyz",
},
},
{
network: "storyTestnet",
chainId: 1516,
urls: {
apiURL: "https://odyssey.storyscan.xyz/api",
browserURL: "https://odyssey.storyscan.xyz",
},
},
],
},
// tenderly: {
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@
"deploy:metall2testnet": "npx hardhat run --network metalL2Testnet scripts/deploy.ts",
"deploy:metall2main": "npx hardhat run --network metalL2Main scripts/deploy.ts",
"deploy:superseedtestnet": "npx hardhat run --network superseedTestnet scripts/deploy.ts",
"deploy:superseedmain": "npx hardhat run --network superseedMain scripts/deploy.ts",
"deploy:storytestnet": "npx hardhat run --network storyTestnet scripts/deploy.ts",
"prettier:check": "npx prettier -c \"**/*.{js,ts,md,sol,json,yml,yaml}\"",
"prettier:fix": "npx prettier -w \"**/*.{js,ts,md,sol,json,yml,yaml}\"",
"solhint:check": "npx solhint \"contracts/**/*.sol\"",
Expand Down Expand Up @@ -209,7 +211,7 @@
"typechain": "^8.3.2",
"typescript": "^5.7.2",
"typescript-eslint": "^8.17.0",
"xdeployer": "^3.1.6",
"zksync-ethers": "^6.15.2"
"xdeployer": "^3.1.7",
"zksync-ethers": "^6.15.3"
}
}
Loading

0 comments on commit 0bbfb75

Please sign in to comment.