Skip to content

Commit

Permalink
Fix chain names
Browse files Browse the repository at this point in the history
  • Loading branch information
rkalis committed Aug 7, 2023
1 parent b18675b commit 2d7cd32
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/utils/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const getChainName = (chainId: number): string => {
[ChainId.PolygonMainnet]: 'Polygon',
[ChainId.ArbitrumOne]: 'Arbitrum',
[ChainId.ArbitrumNova]: 'Arbitrum Nova',
[ChainId.CronosMainnetBeta]: 'Cronos',
[ChainId.CronosMainnet]: 'Cronos',
[ChainId.FantomOpera]: 'Fantom',
[ChainId.KlaytnMainnetCypress]: 'Klaytn',
[ChainId.KlaytnTestnetBaobab]: 'Klaytn Baobab',
Expand Down Expand Up @@ -80,7 +80,7 @@ export const getChainName = (chainId: number): string => {
[ChainId.ShimmerEVMTestnet]: 'Shimmer Testnet',
[ChainId.OasysMainnet]: 'Oasys',
[ChainId.ENULSMainnet]: 'ENULS',
[ChainId.ZetaChainAthensTestnet]: 'ZetaChain Athens',
[ChainId.ZetaChainAthens3Testnet]: 'ZetaChain Athens',
[ChainId.OPMainnet]: 'Optimism',
};

Expand Down Expand Up @@ -134,7 +134,7 @@ export const getChainRpcUrl = (chainId: number): string | undefined => {
[ChainId.Astar]: 'https://evm.astar.network',
[ChainId.OPMainnet]: `https://optimism-mainnet.infura.io/v3/${infuraKey}`,
[ChainId.OptimismGoerliTestnet]: `https://optimism-goerli.infura.io/v3/${infuraKey}`,
[ChainId.CronosMainnetBeta]: 'https://node.croswap.com/rpc',
[ChainId.CronosMainnet]: 'https://node.croswap.com/rpc',
[ChainId.Mumbai]: 'https://polygon-mumbai.blockpi.network/v1/rpc/public',
[ChainId.LineaTestnet]: `https://linea-goerli.infura.io/v3/${infuraKey}`,
[ChainId.CoreBlockchainMainnet]: 'https://rpc-core.icecreamswap.com',
Expand Down

0 comments on commit 2d7cd32

Please sign in to comment.