Skip to content

Commit 9bd3cc7

Browse files
authored
➕ Add Story Main Network Deployment (#227)
### 🕓 Changelog Add Story main network deployment: - [Story](https://www.storyscan.io/address/ba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed). #### Verification Compare the `keccak256` hash of the runtime bytecode with the canonical `keccak256` hash of the runtime bytecode [here](https://github.com/pcaversaccio/createx#security-considerations) (`0xbd8a7ea8cfca7b4e5f5041d7d4b17bc317c5ce42cfbc42066a00cf26b43eb53f`): ```console ~$ cast keccak $(cast code 0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed --rpc-url https://mainnet.storyrpc.io) 0xbd8a7ea8cfca7b4e5f5041d7d4b17bc317c5ce42cfbc42066a00cf26b43eb53f ``` --------- Signed-off-by: Pascal Marco Caversaccio <[email protected]>
1 parent 1ecd3ce commit 9bd3cc7

File tree

9 files changed

+108
-81
lines changed

9 files changed

+108
-81
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2232,6 +2232,7 @@ To verify a deployed [`CreateX`](./src/CreateX.sol) contract on a block explorer
22322232
- [Lisk](https://blockscout.lisk.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
22332233
- [Metal L2](https://explorer.metall2.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
22342234
- [Superseed](https://explorer.superseed.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
2235+
- [Story](https://www.storyscan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
22352236
- [Sonic](https://sonicscan.org/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
22362237
- [EVM on Flow](https://evm.flowscan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
22372238
- [Ink](https://explorer.inkonchain.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)

deployments/deployments.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,13 @@
424424
"https://explorer.superseed.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
425425
]
426426
},
427+
{
428+
"name": "Story",
429+
"chainId": 1514,
430+
"urls": [
431+
"https://www.storyscan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
432+
]
433+
},
427434
{
428435
"name": "Sonic",
429436
"chainId": 146,

eslint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ module.exports = tseslint.config(
2222
parser: tseslint.parser,
2323
parserOptions: {
2424
project: true,
25+
tsconfigRootDir: __dirname,
2526
},
2627
},
2728
},

hardhat.config.ts

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -776,6 +776,11 @@ const config: HardhatUserConfig = {
776776
url: vars.get("STORY_TESTNET_URL", "https://aeneid.storyrpc.io"),
777777
accounts,
778778
},
779+
storyMain: {
780+
chainId: 1514,
781+
url: vars.get("STORY_MAINNET_URL", "https://mainnet.storyrpc.io"),
782+
accounts,
783+
},
779784
sonicTestnet: {
780785
chainId: 57054,
781786
url: vars.get("SONIC_TESTNET_URL", "https://rpc.blaze.soniclabs.com"),
@@ -1298,7 +1303,8 @@ const config: HardhatUserConfig = {
12981303
// For Superseed testnet & mainnet
12991304
superseed: vars.get("SUPERSEED_API_KEY", ""),
13001305
superseedTestnet: vars.get("SUPERSEED_API_KEY", ""),
1301-
// For Story testnet
1306+
// For Story testnet & mainnet
1307+
story: vars.get("STORY_API_KEY", ""),
13021308
storyTestnet: vars.get("STORY_API_KEY", ""),
13031309
// For Sonic testnet & mainnet
13041310
sonic: vars.get("SONIC_API_KEY", ""),
@@ -2165,6 +2171,14 @@ const config: HardhatUserConfig = {
21652171
browserURL: "https://sepolia-explorer.superseed.xyz",
21662172
},
21672173
},
2174+
{
2175+
network: "story",
2176+
chainId: 1514,
2177+
urls: {
2178+
apiURL: "https://www.storyscan.io/api",
2179+
browserURL: "https://www.storyscan.io",
2180+
},
2181+
},
21682182
{
21692183
network: "storyTestnet",
21702184
chainId: 1315,

interface/eslint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ module.exports = tseslint.config(
3333
parser: tseslint.parser,
3434
parserOptions: {
3535
project: true,
36+
tsconfigRootDir: __dirname,
3637
},
3738
},
3839
},

interface/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@
5858
"prettier-plugin-tailwindcss": "^0.6.14",
5959
"tailwindcss": "^4.1.11",
6060
"typescript": "^5.8.3",
61-
"typescript-eslint": "^8.36.0"
61+
"typescript-eslint": "^8.37.0"
6262
}
6363
}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@
164164
"deploy:superseedtestnet": "npx hardhat run --no-compile --network superseedTestnet scripts/deploy.ts",
165165
"deploy:superseedmain": "npx hardhat run --no-compile --network superseedMain scripts/deploy.ts",
166166
"deploy:storytestnet": "npx hardhat run --no-compile --network storyTestnet scripts/deploy.ts",
167+
"deploy:storymain": "npx hardhat run --no-compile --network storyMain scripts/deploy.ts",
167168
"deploy:sonictestnet": "npx hardhat run --no-compile --network sonicTestnet scripts/deploy.ts",
168169
"deploy:sonicmain": "npx hardhat run --no-compile --network sonicMain scripts/deploy.ts",
169170
"deploy:flowtestnet": "npx hardhat run --no-compile --network flowTestnet scripts/deploy.ts",
@@ -251,6 +252,6 @@
251252
"ts-node": "^10.9.2",
252253
"typechain": "^8.3.2",
253254
"typescript": "^5.8.3",
254-
"typescript-eslint": "^8.36.0"
255+
"typescript-eslint": "^8.37.0"
255256
}
256257
}

0 commit comments

Comments
 (0)