File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed
packages/cli/src/command-helpers Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @graphprotocol/graph-cli " : minor
3
+ ---
4
+
5
+ added boba, fuse blockexplorer
Original file line number Diff line number Diff line change @@ -324,6 +324,16 @@ const getEtherscanLikeAPIUrl = (network: string) => {
324
324
return 'https://scan.chiliz.com/api' ;
325
325
case 'chiliz-testnet' :
326
326
return 'https://spicy-explorer.chiliz.com/api' ;
327
+ case 'boba' :
328
+ return 'https://api.routescan.io/v2/network/mainnet/evm/288/etherscan/api' ;
329
+ case 'boba-testnet' :
330
+ return 'https://api.routescan.io/v2/network/testnet/evm/28882/etherscan/api' ;
331
+ case 'boba-bnb' :
332
+ return 'https://api.routescan.io/v2/network/mainnet/evm/56288/etherscan/api' ;
333
+ case 'boba-bnb-testnet' :
334
+ return 'https://api.routescan.io/v2/network/testnet/evm/9728/etherscan/api' ;
335
+ case 'fuse-testnet' :
336
+ return 'https://explorer.fusespark.io/api' ;
327
337
default :
328
338
return `https://api-${ network } .etherscan.io/api` ;
329
339
}
@@ -462,6 +472,16 @@ const getPublicRPCEndpoint = (network: string) => {
462
472
return 'https://rpc.ankr.com/chiliz' ;
463
473
case 'chiliz-testnet' :
464
474
return 'https://spicy-rpc.chiliz.com' ;
475
+ case 'boba' :
476
+ return 'https://boba-eth.drpc.org' ;
477
+ case 'boba-testnet' :
478
+ return 'https://sepolia.boba.network' ;
479
+ case 'boba-bnb' :
480
+ return 'https://bnb.boba.network' ;
481
+ case 'boba-bnb-testnet' :
482
+ return 'https://testnet.bnb.boba.network' ;
483
+ case 'fuse-testnet' :
484
+ return 'https://rpc.fusespark.io' ;
465
485
default :
466
486
throw new Error ( `Unknown network: ${ network } ` ) ;
467
487
}
You can’t perform that action at this time.
0 commit comments