Skip to content

Commit

Permalink
chore: zksync network [skip cypress] (#2154)
Browse files Browse the repository at this point in the history
  • Loading branch information
foodaka authored Aug 16, 2024
1 parent 8928460 commit 5b16a95
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions public/icons/networks/zksync.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/ui-config/governanceConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ export const governanceChainConfig: GovernanceChainConfig = {
[ChainId.metis_andromeda]: GovernanceV3Metis.PC_DATA_HELPER,
[ChainId.bnb]: GovernanceV3BNB.PC_DATA_HELPER,
[ChainId.scroll]: GovernanceV3Scroll.PC_DATA_HELPER,
[324]: '0xe28A3235DCF1Acb8397B546bd588bAAFD7081505',
},
votingAssets: {
aaveTokenAddress: AaveV3Ethereum.ASSETS.AAVE.UNDERLYING,
Expand Down
18 changes: 18 additions & 0 deletions src/ui-config/networksConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -450,4 +450,22 @@ export const networkConfigs: Record<string, BaseNetworkConfig> = {
},
ratesHistoryApiUrl,
},
[324]: {
name: 'ZkSync',
// privateJsonRPCUrl: 'https://scroll-mainnet.rpc.grove.city/v1/62b3314e123e6f00397f19ca',
publicJsonRPCUrl: ['https://1rpc.io/zksync2-era', 'https://zksync.drpc.org'],
publicJsonRPCWSUrl: 'wss://zksync.drpc.org',
baseAssetSymbol: 'ETH',
wrappedBaseAssetSymbol: 'WETH',
baseAssetDecimals: 18,
explorerLink: 'https://explorer.zksync.io/',
isTestnet: false,
networkLogoPath: '/icons/networks/zksync.svg',
bridge: {
icon: '/icons/networks/zksync.svg',
name: 'Zksync Bridge',
url: 'https://portal.zksync.io/bridge/',
},
ratesHistoryApiUrl,
},
} as const;

2 comments on commit 5b16a95

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit was deployed on ipfs

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit was deployed on ipfs

Please sign in to comment.