Skip to content

Commit

Permalink
➕ Add Superseed Main Network Deployment
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Marco Caversaccio <[email protected]>
  • Loading branch information
pcaversaccio committed Dec 6, 2024
1 parent 923462e commit 45b4206
Show file tree
Hide file tree
Showing 15 changed files with 558 additions and 493 deletions.
170 changes: 85 additions & 85 deletions .gas-snapshot

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2229,6 +2229,7 @@ To verify a deployed [`CreateX`](./src/CreateX.sol) contract on a block explorer
- [SX Network](https://explorerl2.sx.technology/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
- [Lisk](https://blockscout.lisk.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
- [Metal L2](https://explorer.metall2.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
- [Superseed](https://explorer.superseed.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)

#### Ethereum Test Networks

Expand Down
7 changes: 7 additions & 0 deletions deployments/deployments.json
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,13 @@
"https://explorer.metall2.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
]
},
{
"name": "Superseed",
"chainId": 5330,
"urls": [
"https://explorer.superseed.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
]
},
{
"name": "Sepolia",
"chainId": 11155111,
Expand Down
16 changes: 15 additions & 1 deletion hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -738,6 +738,11 @@ const config: HardhatUserConfig = {
url: vars.get("SUPERSEED_TESTNET_URL", "https://sepolia.superseed.xyz"),
accounts,
},
superseedMain: {
chainId: 5330,
url: vars.get("SUPERSEED_MAINNET_URL", "https://mainnet.superseed.xyz"),
accounts,
},
storyTestnet: {
chainId: 1516,
url: vars.get("STORY_TESTNET_URL", "https://odyssey.storyrpc.io"),
Expand Down Expand Up @@ -938,7 +943,8 @@ 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", ""),
Expand Down Expand Up @@ -1678,6 +1684,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 Down
21 changes: 11 additions & 10 deletions interface/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,28 +32,29 @@
"dependencies": {
"@headlessui/react": "^2.2.0",
"@heroicons/react": "^2.2.0",
"next": "^15.0.3",
"next-themes": "^0.4.3",
"next": "^15.0.4",
"next-themes": "^0.4.4",
"prismjs": "^1.29.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"sharp": "^0.33.5"
},
"devDependencies": {
"@eslint/js": "^9.16.0",
"@next/eslint-plugin-next": "^15.0.3",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@next/eslint-plugin-next": "^15.0.4",
"@trivago/prettier-plugin-sort-imports": "^5.1.0",
"@types/node": "^22.10.1",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.1",
"autoprefixer": "^10.4.20",
"eslint": "^9.16.0",
"eslint-config-next": "^15.0.3",
"eslint-config-next": "^15.0.4",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-hooks": "^5.1.0",
"next-seo": "^6.6.0",
"postcss": "^8.4.49",
"prettier": "^3.4.2",
"prettier-plugin-svelte": "^3.3.2",
"prettier-plugin-tailwindcss": "^0.6.9",
"tailwindcss": "^3.4.16",
"typescript": "^5.7.2",
Expand Down
2 changes: 2 additions & 0 deletions interface/src/components/layout/ExternalLink.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { JSX } from "react";

type Props = {
href: string;
className?: string;
Expand Down
1 change: 1 addition & 0 deletions interface/src/components/layout/Layout.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { JSX } from "react";
import { Footer } from "@/components/layout/Footer";
import { Header } from "@/components/layout/Header";

Expand Down
2 changes: 1 addition & 1 deletion interface/src/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from "react";
import type { AppProps } from "next/app";
import { DefaultSeo } from "next-seo";
import { ThemeProvider } from "next-themes";
import type { AppProps } from "next/app";
import { Layout } from "@/components/layout/Layout";
import "@/styles/globals.css";
import DefaultSeoProps from "../../next-seo.config";
Expand Down
2 changes: 1 addition & 1 deletion lib/forge-std
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@
"deploy:metall2testnet": "npx hardhat run --no-compile --network metalL2Testnet scripts/deploy.ts",
"deploy:metall2main": "npx hardhat run --no-compile --network metalL2Main scripts/deploy.ts",
"deploy:superseedtestnet": "npx hardhat run --no-compile --network superseedTestnet scripts/deploy.ts",
"deploy:superseedmain": "npx hardhat run --no-compile --network superseedMain scripts/deploy.ts",
"deploy:storytestnet": "npx hardhat run --no-compile --network storyTestnet scripts/deploy.ts",
"prettier:check": "npx prettier -c \"**/*.{js,ts,md,sol,json,yml,yaml}\"",
"prettier:check:interface": "pnpm -C interface prettier:check",
Expand Down
Loading

0 comments on commit 45b4206

Please sign in to comment.