Skip to content

Commit e8218ee

Browse files
alinobrasil0237h
andauthoredDec 3, 2024··
added rpc and api urls for botanix-testnet (#1781)
--------- Co-authored-by: Etienne Donneger <etienne@pinax.network>
1 parent 2050bf6 commit e8218ee

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
 

‎.changeset/wise-crews-study.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@graphprotocol/graph-cli": minor
3+
---
4+
5+
added rpc and api urls for botanix-testnet

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

+4
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,8 @@ const getEtherscanLikeAPIUrl = (network: string) => {
358358
return 'https://maizenet-explorer.usecorn.com/api';
359359
case 'corn-testnet':
360360
return 'https://testnet-explorer.usecorn.com/api';
361+
case 'botanix-testnet':
362+
return 'https://api.routescan.io/v2/network/testnet/evm/3636/etherscan/api';
361363
default:
362364
return `https://api-${network}.etherscan.io/api`;
363365
}
@@ -522,6 +524,8 @@ const getPublicRPCEndpoint = (network: string) => {
522524
return 'https://maizenet-rpc.usecorn.com';
523525
case 'corn-testnet':
524526
return 'https://testnet-rpc.usecorn.com';
527+
case 'botanix-testnet':
528+
return 'https://node.botanixlabs.dev';
525529
default:
526530
throw new Error(`Unknown network: ${network}`);
527531
}

0 commit comments

Comments
 (0)
Please sign in to comment.