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 chiliz testnet rpc and api
Original file line number Diff line number Diff line change @@ -322,6 +322,8 @@ const getEtherscanLikeAPIUrl = (network: string) => {
322
322
return 'https://explorer-testnet.soneium.org/api' ;
323
323
case 'chiliz' :
324
324
return 'https://scan.chiliz.com/api' ;
325
+ case 'chiliz-testnet' :
326
+ return 'https://spicy-explorer.chiliz.com/api' ;
325
327
default :
326
328
return `https://api-${ network } .etherscan.io/api` ;
327
329
}
@@ -458,6 +460,8 @@ const getPublicRPCEndpoint = (network: string) => {
458
460
return 'https://rpc.minato.soneium.org/' ;
459
461
case 'chiliz' :
460
462
return 'https://rpc.ankr.com/chiliz' ;
463
+ case 'chiliz-testnet' :
464
+ return 'https://spicy-rpc.chiliz.com' ;
461
465
default :
462
466
throw new Error ( `Unknown network: ${ network } ` ) ;
463
467
}
You can’t perform that action at this time.
0 commit comments