Skip to content

Commit

Permalink
feat: add scroll (#357)
Browse files Browse the repository at this point in the history
  • Loading branch information
viet-nv authored Oct 18, 2023
1 parent a090a38 commit fbd0043
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/constants/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export enum ChainId {
ZKSYNC = 324,
LINEA = 59144,
ZKEVM = 1101,
SCROLL = 534352,
}

export type NETWORK_INFO = {
Expand Down Expand Up @@ -354,6 +355,29 @@ export const NETWORKS_INFO: { [key in ChainId]: NETWORK_INFO } = {
tokensListUrl: '',
isEnableBlockService: true,
},
[ChainId.SCROLL]: {
chainId: ChainId.SCROLL,
icon:
'https://file.notion.so/f/s/253723b6-f537-4968-a2e6-f102b893ef4c/Scroll_logo_mark_300300px_RGB.svg?id=2ecfe530-2ce5-48d0-8bed-537a584a92ce&table=block&spaceId=cc12e519-e01d-4277-9573-3fe8e5bdf9ce&expirationTimestamp=1697558400000&signature=-PD15tUbD8xuN5VOSpwW0B1Cl30TILAHe-LsLjqPhlQ&downloadName=Scroll_logo+mark_300*300px_RGB.svg',
name: 'Scroll',
urlKey: 'scroll',
priceRoute: 'scroll',
blockServiceRoute: 'scroll',
dmmSwapUrl: 'https://kyberswap.com/',
subgraphName: 'kybernetwork/kyberswap-exchange-scroll',
subgraphUrls: ['https://scroll-graph.kyberengineering.io/subgraphs/name/kybernetwork/kyberswap-exchange-scroll'],
subgraphBlockUrl: '',
etherscanUrl: 'https://scrollscan.com',
kncAddress: '',
wethAddress: '0x5300000000000000000000000000000000000004',
defaultStartTime: 1697214852,
nativeTokenSymbol: 'ETH',
nativeTokenWrappedName: 'ETH (Wrapped)',
nativeTokenLogo: EthereumLogo,
etherscanLinkText: 'Scrollscan',
tokensListUrl: '',
isEnableBlockService: true,
},
}

export const NETWORKS_INFO_LIST: NETWORK_INFO[] = Object.values(NETWORKS_INFO)
Expand Down

0 comments on commit fbd0043

Please sign in to comment.