Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/fair-suns-pay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@graphprotocol/graph-cli": minor
---

added new chain
4 changes: 4 additions & 0 deletions packages/cli/src/command-helpers/abi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,8 @@ const getEtherscanLikeAPIUrl = (network: string) => {
return 'https://explorer.fusespark.io/api';
case 'rootstock-testnet':
return 'https://rootstock-testnet.blockscout.com/api';
case 'unichain-testnet':
return 'https://unichain-sepolia.blockscout.com/api'
default:
return `https://api-${network}.etherscan.io/api`;
}
Expand Down Expand Up @@ -490,6 +492,8 @@ const getPublicRPCEndpoint = (network: string) => {
return 'https://public-en.node.kaia.io';
case 'kaia-testnet':
return 'https://public-en.kairos.node.kaia.io';
case 'unichain-testnet':
return 'http://beta-u-Proxy-9QsHxlNJa4es-1179015898.us-east-2.elb.amazonaws.com:8545'
default:
throw new Error(`Unknown network: ${network}`);
}
Expand Down
Loading