Skip to content

Commit

Permalink
added rpc and api urls for botanix-testnet (graphprotocol#1781)
Browse files Browse the repository at this point in the history
---------

Co-authored-by: Etienne Donneger <etienne@pinax.network>
  • Loading branch information
alinobrasil and 0237h authored Dec 3, 2024
1 parent 2050bf6 commit e8218ee
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/wise-crews-study.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@graphprotocol/graph-cli": minor
---

added rpc and api urls for botanix-testnet
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 @@ -358,6 +358,8 @@ const getEtherscanLikeAPIUrl = (network: string) => {
return 'https://maizenet-explorer.usecorn.com/api';
case 'corn-testnet':
return 'https://testnet-explorer.usecorn.com/api';
case 'botanix-testnet':
return 'https://api.routescan.io/v2/network/testnet/evm/3636/etherscan/api';
default:
return `https://api-${network}.etherscan.io/api`;
}
Expand Down Expand Up @@ -522,6 +524,8 @@ const getPublicRPCEndpoint = (network: string) => {
return 'https://maizenet-rpc.usecorn.com';
case 'corn-testnet':
return 'https://testnet-rpc.usecorn.com';
case 'botanix-testnet':
return 'https://node.botanixlabs.dev';
default:
throw new Error(`Unknown network: ${network}`);
}
Expand Down

0 comments on commit e8218ee

Please sign in to comment.