Skip to content

Commit

Permalink
fix: fix Kroma and Apechain support
Browse files Browse the repository at this point in the history
  • Loading branch information
rkalis committed Dec 11, 2024
1 parent 9a34059 commit f3833a3
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions lib/utils/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit f3833a3

Please sign in to comment.