File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
packages/cli/src/command-helpers Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @graphprotocol/graph-cli " : minor
3+ ---
4+
5+ added new chain
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments