File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed
packages/cli/src/command-helpers Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @graphprotocol/graph-cli ' : patch
3
+ ---
4
+
5
+ Add new chains: ` abstract-testnet ` , ` corn ` and ` corn-testnet `
Original file line number Diff line number Diff line change @@ -352,6 +352,12 @@ const getEtherscanLikeAPIUrl = (network: string) => {
352
352
return 'https://unichain-sepolia.blockscout.com/api' ;
353
353
case 'lens-testnet' :
354
354
return 'https://block-explorer-api.testnet.lens.dev/api' ;
355
+ case 'abstract-testnet' :
356
+ return 'https://block-explorer-api.testnet.abs.xyz/api' ;
357
+ case 'corn' :
358
+ return 'https://maizenet-explorer.usecorn.com/api' ;
359
+ case 'corn-testnet' :
360
+ return 'https://testnet-explorer.usecorn.com/api' ;
355
361
default :
356
362
return `https://api-${ network } .etherscan.io/api` ;
357
363
}
@@ -510,6 +516,12 @@ const getPublicRPCEndpoint = (network: string) => {
510
516
return 'https://sepolia.unichain.org' ;
511
517
case 'lens-testnet' :
512
518
return 'https://api.staging.lens.zksync.dev' ;
519
+ case 'abstract-testnet' :
520
+ return 'https://api.testnet.abs.xyz' ;
521
+ case 'corn' :
522
+ return 'https://maizenet-rpc.usecorn.com' ;
523
+ case 'corn-testnet' :
524
+ return 'https://testnet-rpc.usecorn.com' ;
513
525
default :
514
526
throw new Error ( `Unknown network: ${ network } ` ) ;
515
527
}
You can’t perform that action at this time.
0 commit comments