Skip to content

Commit

Permalink
fix: move Sonic from PROVIDER to ETHERSCAN_COMPATIBLE
Browse files Browse the repository at this point in the history
  • Loading branch information
rkalis committed Jan 26, 2025
1 parent e488b46 commit 8f5f351
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/utils/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2099,11 +2099,12 @@ export const CHAINS = {
priceStrategy: undefined, // TODO
}),
[ChainId.SonicMainnet]: new Chain({
type: SupportType.PROVIDER,
type: SupportType.ETHERSCAN_COMPATIBLE,
chainId: ChainId.SonicMainnet,
name: 'Sonic',
explorerUrl: 'https://sonicscan.org',
logoUrl: '/assets/images/vendor/chains/sonic.svg',
etherscanCompatibleApiUrl: 'https://api.sonicscan.org/api',
rpc: {
main: `https://sonic-mainnet.g.alchemy.com/v2/${ALCHEMY_API_KEY}`,
},
Expand Down

0 comments on commit 8f5f351

Please sign in to comment.