diff --git a/lib/utils/chains.ts b/lib/utils/chains.ts index f8d379df..f1af6650 100644 --- a/lib/utils/chains.ts +++ b/lib/utils/chains.ts @@ -181,13 +181,14 @@ export const CHAINS = { correspondingMainnetChainId: ChainId.PolygonMainnet, }), [ChainId.ApeChain]: new Chain({ - type: SupportType.PROVIDER, + type: SupportType.ETHERSCAN_COMPATIBLE, chainId: ChainId.ApeChain, name: 'ApeChain', nativeToken: 'APE', logoUrl: '/assets/images/vendor/chains/apechain.svg', explorerUrl: 'https://apescan.io', infoUrl: 'https://apechain.com', + etherscanCompatibleApiUrl: 'https://api.apescan.io/api', rpc: { main: `https://apechain-mainnet.g.alchemy.com/v2/${ALCHEMY_API_KEY}`, free: 'https://apechain.calderachain.xyz/http', @@ -1258,8 +1259,8 @@ export const CHAINS = { chainId: ChainId.Kroma, name: 'Kroma', logoUrl: '/assets/images/vendor/chains/kroma.svg', - explorerUrl: 'https://kromascan.com', - etherscanCompatibleApiUrl: 'https://api.kromascan.com/api', + explorerUrl: 'https://blockscout.kroma.network', + etherscanCompatibleApiUrl: 'https://blockscout.kroma.network/api', deployedContracts: { ...MULTICALL }, // TODO: Add iZiSwap strategy to support Kroma priceStrategy: undefined, @@ -1269,8 +1270,8 @@ export const CHAINS = { chainId: ChainId.KromaSepolia, name: 'Kroma Sepolia', logoUrl: '/assets/images/vendor/chains/kroma.svg', - explorerUrl: 'https://sepolia.kromascan.com', - etherscanCompatibleApiUrl: 'https://api-sepolia.kromascan.com/api', + explorerUrl: 'https://blockscout.sepolia.kroma.network/', + etherscanCompatibleApiUrl: 'https://blockscout.sepolia.kroma.network/api', deployedContracts: { ...MULTICALL }, isTestnet: true, correspondingMainnetChainId: ChainId.Kroma,