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
+ add iotex testnet rpc and api url
Original file line number Diff line number Diff line change @@ -310,6 +310,8 @@ const getEtherscanLikeAPIUrl = (network: string) => {
310
310
return 'https://explorer-sepolia.gravity.xyz/api' ;
311
311
case 'etherlink-mainnet' :
312
312
return 'https://explorer.etherlink.com/api' ;
313
+ case 'iotex-testnet' :
314
+ return 'https://testnet.index.iotexscan.io/api' ;
313
315
314
316
default :
315
317
return `https://api-${ network } .etherscan.io/api` ;
@@ -435,6 +437,8 @@ const getPublicRPCEndpoint = (network: string) => {
435
437
return 'https://rpc-sepolia.gravity.xyz' ;
436
438
case 'etherlink-mainnet' :
437
439
return 'https://node.mainnet.etherlink.com' ;
440
+ case 'iotex-testnet' :
441
+ return 'https://babel-api.testnet.iotex.io' ;
438
442
default :
439
443
throw new Error ( `Unknown network: ${ network } ` ) ;
440
444
}
You can’t perform that action at this time.
0 commit comments