Skip to content

Commit a06859a

Browse files
committed
feat: add dRPCs
1 parent bd9ff11 commit a06859a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

typescript/ui/src/consts/chains.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,25 @@
11
import { ChainMap, ChainMetadata } from '@hyperlane-xyz/sdk';
2+
import { ProtocolType } from '@hyperlane-xyz/utils';
23

34
// A map of chain names to ChainMetadata
45
// Chains can be defined here, in chains.json, or in chains.yaml
56
// Chains already in the SDK need not be included here unless you want to override some fields
67
// Schema here: https://github.com/hyperlane-xyz/hyperlane-monorepo/blob/main/typescript/sdk/src/metadata/chainMetadataTypes.ts
78
export const chains: ChainMap<ChainMetadata & { mailbox?: Address }> = {
9+
arbitrum: {
10+
name: 'arbitrum',
11+
protocol: ProtocolType.Ethereum,
12+
chainId: 42161,
13+
domainId: 42161,
14+
rpcUrls: [{ http: 'https://arbitrum.drpc.org' }],
15+
},
16+
base: {
17+
name: 'base',
18+
protocol: ProtocolType.Ethereum,
19+
chainId: 8453,
20+
domainId: 8453,
21+
rpcUrls: [{ http: 'https://base.drpc.org' }],
22+
}
823
// solanamainnet: {
924
// ...solanamainnet,
1025
// // SVM chains require mailbox addresses for the token adapters

0 commit comments

Comments
 (0)