Skip to content

Commit

Permalink
common: add moonbeam, fuse, blast to chain id lookup
Browse files Browse the repository at this point in the history
- docs: Add to feature matrix:s
- add moonbeam, fuse and blast to chain id lookups
- removed changes to the feature matrix. that should be handled in #979
- added missing mappings to Caip2ByChainID
  • Loading branch information
pdiogo authored and dwerner committed Aug 19, 2024
1 parent bf2f4bf commit 01766f1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/indexer-common/src/indexer-management/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,9 @@ export const Caip2ByChainAlias: { [key: string]: string } = {
linea: 'eip155:59144',
scroll: 'eip155:534352',
base: 'eip155:8453',
moonbeam: 'eip155:1284',
fuse: 'eip155:122',
blast: 'eip155:81457',
}

export const Caip2ByChainId: { [key: number]: string } = {
Expand All @@ -204,6 +207,9 @@ export const Caip2ByChainId: { [key: number]: string } = {
59144: 'eip155:59144',
534352: 'eip155:534352',
8453: 'eip155:8453',
1284: 'eip155:1284',
122: 'eip155:122',
81457: 'eip155:81457',
}

/// Unified entrypoint to resolve CAIP ID based either on chain aliases (strings)
Expand Down

0 comments on commit 01766f1

Please sign in to comment.