Skip to content

Commit 5020d58

Browse files
authored
feat: Added Botanix, Humanity, Rise. Deprecated Celo, Fantom, Geist. (#525)
* feat: Added Botanix, Humanity, Rise. Deprecated Celo, Fantom, Geist * chore: bump version
1 parent e422625 commit 5020d58

File tree

6 files changed

+42
-4
lines changed

6 files changed

+42
-4
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@
66

77
### Minor Changes
88

9+
## 3.6.2
10+
11+
### Minor Changes
12+
13+
- Added Botanix Mainnet, Testnet; Humanity Mainnet; Rise Testnet
14+
- Deprecated Celo Baklava; Fantom Testnet; Geist Mainnet, Polter
15+
916
## 3.6.1
1017

1118
### Minor Changes

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ The SDK currently supports the following chains (chains with '(d)' after are dep
6363
- **Anime**: Mainnet, Sepolia
6464
- **Story**: Mainnet, Aeneid
6565
- **Megaeth**: Testnet
66+
- **Botanix**: Mainnet, Testnet
67+
- **Humanity**: Mainnet
68+
- **Rise**: Testnet
6669

6770
You can find per-method documentation of the Alchemy SDK endpoints at the [Alchemy Docs linked in the sidebar](https://docs.alchemy.com/reference/alchemy-sdk-quickstart).
6871

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "alchemy-sdk",
3-
"version": "3.6.1",
3+
"version": "3.6.2",
44
"description": "Extended Ethers.js SDK for Alchemy APIs",
55
"author": "Alchemy",
66
"license": "MIT",

src/types/types.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ export enum Network {
134134
LINEA_MAINNET = 'linea-mainnet',
135135
LINEA_SEPOLIA = 'linea-sepolia',
136136
FANTOM_MAINNET = 'fantom-mainnet',
137+
/** @deprecated */
137138
FANTOM_TESTNET = 'fantom-testnet',
138139
ZETACHAIN_MAINNET = 'zetachain-mainnet',
139140
ZETACHAIN_TESTNET = 'zetachain-testnet',
@@ -152,6 +153,7 @@ export enum Network {
152153
AVAX_FUJI = 'avax-fuji',
153154
CELO_MAINNET = 'celo-mainnet',
154155
CELO_ALFAJORES = 'celo-alfajores',
156+
/** @deprecated */
155157
CELO_BAKLAVA = 'celo-baklava',
156158
METIS_MAINNET = 'metis-mainnet',
157159
OPBNB_MAINNET = 'opbnb-mainnet',
@@ -180,7 +182,9 @@ export enum Network {
180182
APECHAIN_CURTIS = 'apechain-curtis',
181183
LENS_MAINNET = 'lens-mainnet',
182184
LENS_SEPOLIA = 'lens-sepolia',
185+
/** @deprecated */
183186
GEIST_MAINNET = 'geist-mainnet',
187+
/** @deprecated */
184188
GEIST_POLTER = 'geist-polter',
185189
LUMIA_PRISM = 'lumia-prism',
186190
LUMIA_TESTNET = 'lumia-testnet',
@@ -211,7 +215,11 @@ export enum Network {
211215
ANIME_SEPOLIA = 'anime-sepolia',
212216
STORY_MAINNET = 'story-mainnet',
213217
STORY_AENEID = 'story-aeneid',
214-
MEGAETH_TESTNET = 'megaeth-testnet'
218+
MEGAETH_TESTNET = 'megaeth-testnet',
219+
BOTANIX_MAINNET = 'botanix-mainnet',
220+
BOTANIX_TESTNET = 'botanix-testnet',
221+
HUMANITY_MAINNET = 'humanity-mainnet',
222+
RISE_TESTNET = 'rise-testnet'
215223
}
216224

217225
/** Token Types for the `getTokenBalances()` endpoint. */

src/util/const.ts

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,11 @@ export const EthersNetwork = {
154154
[Network.ANIME_SEPOLIA]: 'anime-sepolia',
155155
[Network.STORY_MAINNET]: 'story-mainnet',
156156
[Network.STORY_AENEID]: 'story-aeneid',
157-
[Network.MEGAETH_TESTNET]: 'megaeth-testnet'
157+
[Network.MEGAETH_TESTNET]: 'megaeth-testnet',
158+
[Network.BOTANIX_MAINNET]: 'botanix-mainnet',
159+
[Network.BOTANIX_TESTNET]: 'botanix-testnet',
160+
[Network.HUMANITY_MAINNET]: 'humanity-mainnet',
161+
[Network.RISE_TESTNET]: 'rise-testnet'
158162
};
159163

160164
/**
@@ -550,6 +554,22 @@ export const CustomNetworks: { [key: string]: NetworkFromEthers } = {
550554
'megaeth-testnet': {
551555
chainId: 0x18c6,
552556
name: 'megaeth-testnet'
557+
},
558+
'botanix-mainnet': {
559+
chainId: 0xe34,
560+
name: 'botanix-mainnet'
561+
},
562+
'botanix-testnet': {
563+
chainId: 0xe35,
564+
name: 'botanix-testnet'
565+
},
566+
'humanity-mainnet': {
567+
chainId: 0x6a96a9,
568+
name: 'humanity-mainnet'
569+
},
570+
'rise-testnet': {
571+
chainId: 0xaa39db,
572+
name: 'rise-testnet'
553573
}
554574
};
555575

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// This file is autogenerated by injectVersion.js. Any changes will be
22
// overwritten on commit!
3-
export const VERSION = '3.6.1';
3+
export const VERSION = '3.6.2';

0 commit comments

Comments
 (0)