Skip to content

Commit 375ed5f

Browse files
committed
➕ Add Shape/Etherlink Test and Main Network Deployments
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
1 parent a0abca4 commit 375ed5f

File tree

7 files changed

+117
-17
lines changed

7 files changed

+117
-17
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2235,6 +2235,8 @@ To verify a deployed [`CreateX`](./src/CreateX.sol) contract on a block explorer
22352235
- [EVM on Flow](https://evm.flowscan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
22362236
- [Ink](https://explorer.inkonchain.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
22372237
- [Morph](https://explorer.morphl2.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
2238+
- [Shape](https://shapescan.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
2239+
- [Etherlink](https://explorer.etherlink.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
22382240

22392241
#### Ethereum Test Networks
22402242

@@ -2298,6 +2300,8 @@ To verify a deployed [`CreateX`](./src/CreateX.sol) contract on a block explorer
22982300
- [EVM on Flow Testnet](https://evm-testnet.flowscan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
22992301
- [Ink Sepolia Testnet](https://explorer-sepolia.inkonchain.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
23002302
- [Morph Holešky Testnet](https://explorer-holesky.morphl2.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
2303+
- [Shape Sepolia Testnet](https://explorer-sepolia.shape.network/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
2304+
- [Etherlink Testnet (Ghostnet)](https://testnet.explorer.etherlink.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
23012305

23022306
## Integration With External Tooling
23032307

deployments/deployments.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,20 @@
438438
"https://explorer.morphl2.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
439439
]
440440
},
441+
{
442+
"name": "Shape",
443+
"chainId": 360,
444+
"urls": [
445+
"https://shapescan.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
446+
]
447+
},
448+
{
449+
"name": "Etherlink",
450+
"chainId": 42793,
451+
"urls": [
452+
"https://explorer.etherlink.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
453+
]
454+
},
441455
{
442456
"name": "Sepolia",
443457
"chainId": 11155111,
@@ -860,5 +874,19 @@
860874
"urls": [
861875
"https://explorer-holesky.morphl2.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
862876
]
877+
},
878+
{
879+
"name": "Shape Sepolia Testnet",
880+
"chainId": 11011,
881+
"urls": [
882+
"https://explorer-sepolia.shape.network/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
883+
]
884+
},
885+
{
886+
"name": "Etherlink Testnet (Ghostnet)",
887+
"chainId": 128123,
888+
"urls": [
889+
"https://testnet.explorer.etherlink.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
890+
]
863891
}
864892
]

hardhat.config.ts

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -799,6 +799,32 @@ const config: HardhatUserConfig = {
799799
url: vars.get("MORPH_MAINNET_URL", "https://rpc-quicknode.morphl2.io"),
800800
accounts,
801801
},
802+
shapeTestnet: {
803+
chainId: 11011,
804+
url: vars.get("SHAPE_TESTNET_URL", "https://sepolia.shape.network"),
805+
accounts,
806+
},
807+
shapeMain: {
808+
chainId: 360,
809+
url: vars.get("SHAPE_MAINNET_URL", "https://mainnet.shape.network"),
810+
accounts,
811+
},
812+
etherlinkTestnet: {
813+
chainId: 128123,
814+
url: vars.get(
815+
"ETHERLINK_TESTNET_URL",
816+
"https://node.ghostnet.etherlink.com",
817+
),
818+
accounts,
819+
},
820+
etherlinkMain: {
821+
chainId: 42793,
822+
url: vars.get(
823+
"ETHERLINK_MAINNET_URL",
824+
"https://node.mainnet.etherlink.com",
825+
),
826+
accounts,
827+
},
802828
},
803829
contractSizer: {
804830
alphaSort: true,
@@ -1012,6 +1038,12 @@ const config: HardhatUserConfig = {
10121038
// For Morph testnet & mainnet
10131039
morph: vars.get("MORPH_API_KEY", ""),
10141040
morphTestnet: vars.get("MORPH_API_KEY", ""),
1041+
// For Shape testnet & mainnet
1042+
shape: vars.get("SHAPE_API_KEY", ""),
1043+
shapeTestnet: vars.get("SHAPE_API_KEY", ""),
1044+
// For Etherlink testnet & mainnet
1045+
etherlink: vars.get("ETHERLINK_API_KEY", ""),
1046+
etherlinkTestnet: vars.get("ETHERLINK_API_KEY", ""),
10151047
},
10161048
customChains: [
10171049
{
@@ -1844,6 +1876,38 @@ const config: HardhatUserConfig = {
18441876
browserURL: "https://explorer-holesky.morphl2.io",
18451877
},
18461878
},
1879+
{
1880+
network: "shape",
1881+
chainId: 360,
1882+
urls: {
1883+
apiURL: "https://shapescan.xyz/api",
1884+
browserURL: "https://shapescan.xyz",
1885+
},
1886+
},
1887+
{
1888+
network: "shapeTestnet",
1889+
chainId: 11011,
1890+
urls: {
1891+
apiURL: "https://explorer-sepolia.shape.network/api",
1892+
browserURL: "https://explorer-sepolia.shape.network",
1893+
},
1894+
},
1895+
{
1896+
network: "etherlink",
1897+
chainId: 42793,
1898+
urls: {
1899+
apiURL: "https://explorer.etherlink.com/api",
1900+
browserURL: "https://explorer.etherlink.com",
1901+
},
1902+
},
1903+
{
1904+
network: "etherlinkTestnet",
1905+
chainId: 128123,
1906+
urls: {
1907+
apiURL: "https://testnet.explorer.etherlink.com/api",
1908+
browserURL: "https://testnet.explorer.etherlink.com",
1909+
},
1910+
},
18471911
],
18481912
},
18491913
};

interface/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@
4444
"@next/eslint-plugin-next": "^15.1.4",
4545
"@trivago/prettier-plugin-sort-imports": "^5.2.1",
4646
"@types/node": "^22.10.5",
47-
"@types/react": "^19.0.5",
47+
"@types/react": "^19.0.6",
4848
"@types/react-dom": "^19.0.3",
4949
"autoprefixer": "^10.4.20",
5050
"eslint": "^9.18.0",
5151
"eslint-config-next": "^15.1.4",
52-
"eslint-plugin-react": "^7.37.3",
52+
"eslint-plugin-react": "^7.37.4",
5353
"eslint-plugin-react-hooks": "^5.1.0",
5454
"next-seo": "^6.6.0",
5555
"postcss": "^8.4.49",

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,10 @@
167167
"deploy:inkmain": "npx hardhat run --no-compile --network inkMain scripts/deploy.ts",
168168
"deploy:morphtestnet": "npx hardhat run --no-compile --network morphTestnet scripts/deploy.ts",
169169
"deploy:morphmain": "npx hardhat run --no-compile --network morphMain scripts/deploy.ts",
170+
"deploy:shapetestnet": "npx hardhat run --no-compile --network shapeTestnet scripts/deploy.ts",
171+
"deploy:shapemain": "npx hardhat run --no-compile --network shapeMain scripts/deploy.ts",
172+
"deploy:etherlinktestnet": "npx hardhat run --no-compile --network etherlinkTestnet scripts/deploy.ts",
173+
"deploy:etherlinkmain": "npx hardhat run --no-compile --network etherlinkMain scripts/deploy.ts",
170174
"prettier:check": "npx prettier -c \"**/*.{js,ts,md,sol,json,yml,yaml}\"",
171175
"prettier:check:interface": "pnpm -C interface prettier:check",
172176
"prettier:fix": "npx prettier -w \"**/*.{js,ts,md,sol,json,yml,yaml}\"",

pnpm-lock.yaml

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)