Skip to content

Commit e39279b

Browse files
authored
added boba, fuse blockexplorer (#1730)
* added boba, fuse blockexplorer * added changeset
1 parent 4360bf9 commit e39279b

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

.changeset/sour-fans-tan.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@graphprotocol/graph-cli": minor
3+
---
4+
5+
added boba, fuse blockexplorer

packages/cli/src/command-helpers/abi.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,16 @@ const getEtherscanLikeAPIUrl = (network: string) => {
324324
return 'https://scan.chiliz.com/api';
325325
case 'chiliz-testnet':
326326
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';
327337
default:
328338
return `https://api-${network}.etherscan.io/api`;
329339
}
@@ -462,6 +472,16 @@ const getPublicRPCEndpoint = (network: string) => {
462472
return 'https://rpc.ankr.com/chiliz';
463473
case 'chiliz-testnet':
464474
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';
465485
default:
466486
throw new Error(`Unknown network: ${network}`);
467487
}

0 commit comments

Comments
 (0)