-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathhyperlane.config.ts
More file actions
35 lines (33 loc) · 971 Bytes
/
hyperlane.config.ts
File metadata and controls
35 lines (33 loc) · 971 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/**
* Configuration interface for Hyperlane router deployment and enrollment
*/
export interface RouterConfig {
/**
* Network-specific configurations
* @property contractName - Name of the contract deployed on this network
* @property gas - Optional gas limit override. If not specified, uses Hyperlane's default (~50,000)
*/
networks: {
[network: string]: {
contractName: string;
gas?: string;
};
};
}
/**
* Example configuration:
* export const hyperlaneConfig: RouterConfig[] = [
* {
* networks: {
* sepolia: {
* contractName: "MyContract",
* gas: "200000", // Optional: Overrides default gas limit
* },
* arbsepolia: {
* contractName: "MyCollateralContract" // Uses default gas limit
* }
* }
* }
* ];
*/
export const hyperlaneConfig: RouterConfig[] = [];