File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 11import { 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
78export 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
You can’t perform that action at this time.
0 commit comments