From e8218eedec4292a95957efc5cadcbcf5280c0375 Mon Sep 17 00:00:00 2001 From: AK Date: Tue, 3 Dec 2024 10:31:44 -0500 Subject: [PATCH] added rpc and api urls for botanix-testnet (#1781) --------- Co-authored-by: Etienne Donneger --- .changeset/wise-crews-study.md | 5 +++++ packages/cli/src/command-helpers/abi.ts | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 .changeset/wise-crews-study.md diff --git a/.changeset/wise-crews-study.md b/.changeset/wise-crews-study.md new file mode 100644 index 00000000..add37fdb --- /dev/null +++ b/.changeset/wise-crews-study.md @@ -0,0 +1,5 @@ +--- +"@graphprotocol/graph-cli": minor +--- + +added rpc and api urls for botanix-testnet diff --git a/packages/cli/src/command-helpers/abi.ts b/packages/cli/src/command-helpers/abi.ts index 5313e3fd..bdab3aeb 100644 --- a/packages/cli/src/command-helpers/abi.ts +++ b/packages/cli/src/command-helpers/abi.ts @@ -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`; } @@ -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}`); }