Commit 121843e 1 parent b48c3ee commit 121843e Copy full SHA for 121843e
File tree 3 files changed +5926
-0
lines changed
packages/cli/src/command-helpers
3 files changed +5926
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @graphprotocol/graph-cli ' : patch
3
+ ---
4
+
5
+ cli: added etherscan API URL & public RPC endpoint for etherlink-testnet
Original file line number Diff line number Diff line change @@ -235,6 +235,8 @@ const getEtherscanLikeAPIUrl = (network: string) => {
235
235
return `https://api.routescan.io/v2/network/testnet/evm/168587773/etherscan/api` ;
236
236
case 'blast-mainnet' :
237
237
return `https://api.routescan.io/v2/network/mainnet/evm/81457/etherscan/api` ;
238
+ case 'etherlink-testnet' :
239
+ return `https://testnet-explorer.etherlink.com/api` ;
238
240
default :
239
241
return `https://api-${ network } .etherscan.io/api` ;
240
242
}
@@ -329,6 +331,8 @@ const getPublicRPCEndpoint = (network: string) => {
329
331
return 'https://rpc.blast.io' ;
330
332
case 'optimism-sepolia' :
331
333
return 'https://sepolia.optimism.io' ;
334
+ case 'etherlink-testnet' :
335
+ return `https://node.ghostnet.etherlink.com` ;
332
336
default :
333
337
throw new Error ( `Unknown network: ${ network } ` ) ;
334
338
}
You can’t perform that action at this time.
0 commit comments