Skip to content

Commit d89db8e

Browse files
committed
feat: add hyperevm
1 parent e43717f commit d89db8e

20 files changed

+696
-1
lines changed

.env.example

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,3 +133,5 @@ WORLD_CHAIN_RPC=' '
133133
PLUME_RPC=' '
134134

135135
KATANA_RPC=' '
136+
137+
HYPEREVM_RPC=' '

deployments/prod_addresses.json

Lines changed: 599 additions & 0 deletions
Large diffs are not rendered by default.

deployments/prod_verification.json

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2561,6 +2561,75 @@
25612561
["0x5fD7D0d6b91CC4787Bcb86ca47e0Bd4ea0346d34"]
25622562
]
25632563
],
2564+
"999": [
2565+
[
2566+
"0xcd620187f4846ba5a42ab41270aC550467dc9FbB",
2567+
"SwitchboardSimulator",
2568+
"contracts/mocks/fee-updater/SwitchboardSimulator.sol",
2569+
[
2570+
"0xB0BBff6311B7F245761A7846d3Ce7B1b100C1836",
2571+
"0x8c36353db4F3a2DDDeed38405199d13DCF8a1B82",
2572+
999,
2573+
1000,
2574+
"0x1CAdCd88fC148D3966eDe75D029937C886f66009"
2575+
]
2576+
],
2577+
[
2578+
"0x09A03E0d298AA13a07A9a3e36a606d4F6a4b8bB7",
2579+
"SimulatorUtils",
2580+
"contracts/mocks/fee-updater/SimulatorUtils.sol",
2581+
[
2582+
"0x8c36353db4F3a2DDDeed38405199d13DCF8a1B82",
2583+
"0x1CAdCd88fC148D3966eDe75D029937C886f66009",
2584+
"0xB0BBff6311B7F245761A7846d3Ce7B1b100C1836",
2585+
999
2586+
]
2587+
],
2588+
[
2589+
"0xb3314456567986e657d4C65Ec9e8cB736B92d11D",
2590+
"ExecutionManagerDF",
2591+
"contracts/ExecutionManagerDF.sol",
2592+
[
2593+
"0xB0BBff6311B7F245761A7846d3Ce7B1b100C1836",
2594+
999,
2595+
"0x0CC93650bF4D98237628DACf87f94E443956D8dF",
2596+
"0x1CAdCd88fC148D3966eDe75D029937C886f66009"
2597+
]
2598+
],
2599+
[
2600+
"0xb4Ef469c9d8317851270346070dA0ecE24616E6b",
2601+
"CapacitorFactory",
2602+
"contracts/CapacitorFactory.sol",
2603+
["0xB0BBff6311B7F245761A7846d3Ce7B1b100C1836", 10]
2604+
],
2605+
[
2606+
"0x9B8c323468AEC7A7Cb041CeD48F92559bFF33705",
2607+
"Hasher",
2608+
"contracts/utils/Hasher.sol",
2609+
["0xB0BBff6311B7F245761A7846d3Ce7B1b100C1836"]
2610+
],
2611+
[
2612+
"0x1CAdCd88fC148D3966eDe75D029937C886f66009",
2613+
"SignatureVerifier",
2614+
"contracts/utils/SignatureVerifier.sol",
2615+
["0xB0BBff6311B7F245761A7846d3Ce7B1b100C1836"]
2616+
],
2617+
[
2618+
"0xbe7241e9D11EC2D1Ac86CE217c4A37b7aD1701cE",
2619+
"MultiSigWrapper",
2620+
"contracts/utils/multisig/MultiSigWrapper.sol",
2621+
[
2622+
"0xB0BBff6311B7F245761A7846d3Ce7B1b100C1836",
2623+
"0x7c6F09D6970A4F575030Becb77f2B64a314E140b"
2624+
]
2625+
],
2626+
[
2627+
"0x1F6bc87f3309B5D31Eb0BdaBE3ED7d3110d3B9c3",
2628+
"SafeProxyFactory",
2629+
"contracts/utils/multisig/proxies/SafeProxyFactory.sol",
2630+
[]
2631+
]
2632+
],
25642633
"1024": [
25652634
[
25662635
"0xd0580065858313f0300eBb6e7970cD3699323985",

hardhat.config.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ if (isProduction) {
130130
[HardhatChainName.WORLD_CHAIN]: getChainConfig(ChainSlug.WORLD_CHAIN),
131131
[HardhatChainName.PLUME]: getChainConfig(ChainSlug.PLUME),
132132
[HardhatChainName.KATANA]: getChainConfig(ChainSlug.KATANA),
133+
[HardhatChainName.HYPEREVM]: getChainConfig(ChainSlug.HYPEREVM),
133134
};
134135
}
135136

@@ -192,6 +193,7 @@ const config: HardhatUserConfig = {
192193
world_chain: process.env.WORLDSCAN_API_KEY || "none",
193194
plume: process.env.PLUME_API_KEY || "none",
194195
katana: process.env.KATANA_API_KEY || "none",
196+
hyperevm: process.env.HYPEREVM_API_KEY || "none",
195197
},
196198
customChains: [
197199
{
@@ -434,6 +436,14 @@ const config: HardhatUserConfig = {
434436
browserURL: "https://explorer.katanarpc.com/",
435437
},
436438
},
439+
{
440+
network: "hyperevm",
441+
chainId: ChainId.HYPEREVM,
442+
urls: {
443+
apiURL: "https://www.hyperscan.com/api",
444+
browserURL: "https://www.hyperscan.com/",
445+
},
446+
},
437447
],
438448
},
439449
networks: {

scripts/rpcConfig/constants/batcherSupportedChainSlug.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,5 @@ export const batcherSupportedChainSlugs = [
6262
ChainSlug.WORLD_CHAIN,
6363
ChainSlug.PLUME,
6464
ChainSlug.KATANA,
65+
ChainSlug.HYPEREVM,
6566
];

scripts/rpcConfig/constants/explorers.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,5 @@ export const explorers = {
4141
[ChainSlug.WORLD_CHAIN]: "https://worldscan.org/",
4242
[ChainSlug.PLUME]: "https://explorer.plume.org/",
4343
[ChainSlug.KATANA]: "https://explorer.katanarpc.com/",
44+
[ChainSlug.HYPEREVM]: "https://www.hyperscan.com/",
4445
};

scripts/rpcConfig/constants/icons.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,5 @@ export const icons = {
3939
[ChainSlug.WORLD_CHAIN]: "",
4040
[ChainSlug.PLUME]: "",
4141
[ChainSlug.KATANA]: "",
42+
[ChainSlug.HYPEREVM]: "",
4243
};

scripts/rpcConfig/constants/rpc.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,5 @@ export const rpcs = {
7474
[ChainSlug.WORLD_CHAIN]: checkEnvValue("WORLD_CHAIN_RPC"),
7575
[ChainSlug.PLUME]: checkEnvValue("PLUME_RPC"),
7676
[ChainSlug.KATANA]: checkEnvValue("KATANA_RPC"),
77+
[ChainSlug.HYPEREVM]: checkEnvValue("HYPEREVM_RPC"),
7778
};

scripts/rpcConfig/constants/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ import { DeploymentMode } from "../../../src";
22

33
export const version = {
44
[DeploymentMode.DEV]: "1.0.5",
5-
[DeploymentMode.PROD]: "1.0.95",
5+
[DeploymentMode.PROD]: "1.0.99",
66
};

src/enums/chainId.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,5 @@ export enum ChainId {
7070
WORLD_CHAIN = 480,
7171
PLUME = 98866,
7272
KATANA = 747474,
73+
HYPEREVM = 999,
7374
}

0 commit comments

Comments
 (0)