Skip to content

Commit 7b4f787

Browse files
authored
added new chain (#1740)
* added new chain: unichain testnet * Create fair-suns-pay.md
1 parent a2d0e28 commit 7b4f787

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.changeset/fair-suns-pay.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 new chain

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,8 @@ const getEtherscanLikeAPIUrl = (network: string) => {
336336
return 'https://explorer.fusespark.io/api';
337337
case 'rootstock-testnet':
338338
return 'https://rootstock-testnet.blockscout.com/api';
339+
case 'unichain-testnet':
340+
return 'https://unichain-sepolia.blockscout.com/api';
339341
default:
340342
return `https://api-${network}.etherscan.io/api`;
341343
}
@@ -490,6 +492,8 @@ const getPublicRPCEndpoint = (network: string) => {
490492
return 'https://public-en.node.kaia.io';
491493
case 'kaia-testnet':
492494
return 'https://public-en.kairos.node.kaia.io';
495+
case 'unichain-testnet':
496+
return 'http://beta-u-Proxy-9QsHxlNJa4es-1179015898.us-east-2.elb.amazonaws.com:8545';
493497
default:
494498
throw new Error(`Unknown network: ${network}`);
495499
}

0 commit comments

Comments
 (0)