Skip to content

Commit

Permalink
new chain urls
Browse files Browse the repository at this point in the history
  • Loading branch information
alinobrasil committed Nov 7, 2024
1 parent baf36b4 commit 8e8bcad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/cli/src/command-helpers/abi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,8 @@ const getEtherscanLikeAPIUrl = (network: string) => {
return 'https://rootstock-testnet.blockscout.com/api';
case 'unichain-testnet':
return 'https://unichain-sepolia.blockscout.com/api';
case 'lens-testnet':
return 'https://block-explorer-api.testnet.lens.dev/api';
default:
return `https://api-${network}.etherscan.io/api`;
}
Expand Down Expand Up @@ -496,6 +498,8 @@ const getPublicRPCEndpoint = (network: string) => {
return 'https://public-en.kairos.node.kaia.io';
case 'unichain-testnet':
return 'https://sepolia.unichain.org';
case 'lens-testnet':
return 'https://api.staging.lens.zksync.dev'
default:
throw new Error(`Unknown network: ${network}`);
}
Expand Down

0 comments on commit 8e8bcad

Please sign in to comment.