File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
packages/cli/src/command-helpers Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @graphprotocol/graph-cli " : minor
3
+ ---
4
+
5
+ feat: add neox etherscan like url and public rpc
Original file line number Diff line number Diff line change @@ -312,6 +312,10 @@ const getEtherscanLikeAPIUrl = (network: string) => {
312
312
return 'https://explorer.etherlink.com/api' ;
313
313
case 'iotex-testnet' :
314
314
return 'https://testnet.index.iotexscan.io/api' ;
315
+ case 'neox' :
316
+ return 'https://xexplorer.neo.org/api' ;
317
+ case 'neox-testnet' :
318
+ return 'https://xt4scan.ngd.network/api' ;
315
319
316
320
default :
317
321
return `https://api-${ network } .etherscan.io/api` ;
@@ -439,6 +443,10 @@ const getPublicRPCEndpoint = (network: string) => {
439
443
return 'https://node.mainnet.etherlink.com' ;
440
444
case 'iotex-testnet' :
441
445
return 'https://babel-api.testnet.iotex.io' ;
446
+ case 'neox' :
447
+ return 'https://mainnet-1.rpc.banelabs.org' ;
448
+ case 'neox-testnet' :
449
+ return 'https://neoxt4seed1.ngd.network' ;
442
450
default :
443
451
throw new Error ( `Unknown network: ${ network } ` ) ;
444
452
}
You can’t perform that action at this time.
0 commit comments