Skip to content

Commit 4c7d17c

Browse files
authored
added publicRpc and blockExplorer for arbitrum nova (#1713)
* added publicRpc and blockExplorer for arbitrum nova * added changset CLI: added public rpc and block explorer for arbitrum nova
1 parent 9b48e45 commit 4c7d17c

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.changeset/slow-jeans-trade.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 publicRpc and blockExplorer for arbitrum nova

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,8 @@ const getEtherscanLikeAPIUrl = (network: string) => {
316316
return 'https://xexplorer.neo.org/api';
317317
case 'neox-testnet':
318318
return 'https://xt4scan.ngd.network/api';
319-
319+
case 'arbitrum-nova':
320+
return 'https://api-nova.arbiscan.io/api';
320321
default:
321322
return `https://api-${network}.etherscan.io/api`;
322323
}
@@ -447,6 +448,8 @@ const getPublicRPCEndpoint = (network: string) => {
447448
return 'https://mainnet-1.rpc.banelabs.org';
448449
case 'neox-testnet':
449450
return 'https://neoxt4seed1.ngd.network';
451+
case 'arbitrum-nova':
452+
return 'https://nova.arbitrum.io/rpc';
450453
default:
451454
throw new Error(`Unknown network: ${network}`);
452455
}

0 commit comments

Comments
 (0)