Skip to content

Commit 0a766f0

Browse files
committed
added new chain: unichain testnet
1 parent a2d0e28 commit 0a766f0

File tree

1 file changed

+4
-0
lines changed
  • packages/cli/src/command-helpers

1 file changed

+4
-0
lines changed

packages/cli/src/command-helpers/abi.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,8 @@ const getEtherscanLikeAPIUrl = (network: string) => {
336336
return 'https://explorer.fusespark.io/api';
337337
case 'rootstock-testnet':
338338
return 'https://rootstock-testnet.blockscout.com/api';
339+
case 'unichain-testnet':
340+
return 'https://unichain-sepolia.blockscout.com/api'
339341
default:
340342
return `https://api-${network}.etherscan.io/api`;
341343
}
@@ -490,6 +492,8 @@ const getPublicRPCEndpoint = (network: string) => {
490492
return 'https://public-en.node.kaia.io';
491493
case 'kaia-testnet':
492494
return 'https://public-en.kairos.node.kaia.io';
495+
case 'unichain-testnet':
496+
return 'http://beta-u-Proxy-9QsHxlNJa4es-1179015898.us-east-2.elb.amazonaws.com:8545'
493497
default:
494498
throw new Error(`Unknown network: ${network}`);
495499
}

0 commit comments

Comments
 (0)