Skip to content

Commit

Permalink
Added Linea Sepolia RPC and Linea Sepolia EtherscanLikeApiUrl (#1661)
Browse files Browse the repository at this point in the history
* Added Linea Sepolia RPC and Linea Sepolia EtherscanLikeApiUrl

* Create quiet-rings-care.md

---------

Co-authored-by: Saihajpreet Singh <saihajpreet.singh@gmail.com>
  • Loading branch information
mitchhs12 and saihaj committed May 15, 2024
1 parent 00e774e commit 8f6ee24
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/quiet-rings-care.md
@@ -0,0 +1,5 @@
---
"@graphprotocol/graph-cli": patch
---

add Linea Sepolia RPC and Linea Sepolia Etherscan url
4 changes: 4 additions & 0 deletions packages/cli/src/command-helpers/abi.ts
Expand Up @@ -229,6 +229,8 @@ const getEtherscanLikeAPIUrl = (network: string) => {
return `https://blockscout.scroll.io/api`;
case 'linea':
return `https://api.lineascan.build/api`;
case 'linea-sepolia':
return 'https://api-sepolia.lineascan.build/api';
case 'linea-goerli':
return `https://api.linea-goerli.build/api`;
case 'blast-testnet':
Expand Down Expand Up @@ -333,6 +335,8 @@ const getPublicRPCEndpoint = (network: string) => {
return 'https://rpc.ankr.com/scroll';
case 'linea':
return 'https://linea-mainnet.public.blastapi.io';
case 'linea-sepolia':
return 'https://linea-sepolia.public.blastapi.io';
case 'linea-goerli':
return 'https://linea-goerli.public.blastapi.io';
case 'blast-testnet':
Expand Down

0 comments on commit 8f6ee24

Please sign in to comment.