Skip to content

Commit 89c4881

Browse files
authored
feat: Add Anime, Story, Megaeth (#515)
1 parent a22ca43 commit 89c4881

File tree

6 files changed

+43
-4
lines changed

6 files changed

+43
-4
lines changed

CHANGELOG.md

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

77
### Minor Changes
88

9+
## 3.5.9
10+
11+
### Minor Changes
12+
13+
- Added Anime Mainnet and Sepolia, Story Mainnet and Aeneid, Megaeth Testnet
14+
915
## 3.5.8
1016

1117
### Minor Changes

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ The SDK currently supports the following chains (chains with '(d)' after are dep
6060
- **Gensyn**: Testnet
6161
- **Superseed**: Mainnet, Sepolia
6262
- **Tea**: Sepolia
63+
- **Anime**: Mainnet, Sepolia
64+
- **Story**: Mainnet, Aeneid
65+
- **Megaeth**: Testnet
6366

6467
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).
6568

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.5.8",
3+
"version": "3.5.9",
44
"description": "Extended Ethers.js SDK for Alchemy APIs",
55
"author": "Alchemy",
66
"license": "MIT",

src/types/types.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,12 @@ export enum Network {
206206
GENSYN_TESTNET = 'gensyn-testnet',
207207
SUPERSEED_MAINNET = 'superseed-mainnet',
208208
SUPERSEED_SEPOLIA = 'superseed-sepolia',
209-
TEA_SEPOLIA = 'tea-sepolia'
209+
TEA_SEPOLIA = 'tea-sepolia',
210+
ANIME_MAINNET = 'anime-mainnet',
211+
ANIME_SEPOLIA = 'anime-sepolia',
212+
STORY_MAINNET = 'story-mainnet',
213+
STORY_AENEID = 'story-aeneid',
214+
MEGAETH_TESTNET = 'megaeth-testnet'
210215
}
211216

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

src/util/const.ts

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,12 @@ export const EthersNetwork = {
144144
[Network.GENSYN_TESTNET]: 'gensyn-testnet',
145145
[Network.SUPERSEED_MAINNET]: 'superseed-mainnet',
146146
[Network.SUPERSEED_SEPOLIA]: 'superseed-sepolia',
147-
[Network.TEA_SEPOLIA]: 'tea-sepolia'
147+
[Network.TEA_SEPOLIA]: 'tea-sepolia',
148+
[Network.ANIME_MAINNET]: 'anime-mainnet',
149+
[Network.ANIME_SEPOLIA]: 'anime-sepolia',
150+
[Network.STORY_MAINNET]: 'story-mainnet',
151+
[Network.STORY_AENEID]: 'story-aeneid',
152+
[Network.MEGAETH_TESTNET]: 'megaeth-testnet'
148153
};
149154

150155
/**
@@ -520,6 +525,26 @@ export const CustomNetworks: { [key: string]: NetworkFromEthers } = {
520525
'tea-sepolia': {
521526
chainId: 10218,
522527
name: 'tea-sepolia'
528+
},
529+
'anime-mainnet': {
530+
chainId: 69000,
531+
name: 'anime-mainnet'
532+
},
533+
'anime-sepolia': {
534+
chainId: 0x1af4,
535+
name: 'anime-sepolia'
536+
},
537+
'story-mainnet': {
538+
chainId: 0x5ea,
539+
name: 'story-mainnet'
540+
},
541+
'story-aeneid': {
542+
chainId: 0x523,
543+
name: 'story-aeneid'
544+
},
545+
'megaeth-testnet': {
546+
chainId: 0x18c6,
547+
name: 'megaeth-testnet'
523548
}
524549
};
525550

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.5.8';
3+
export const VERSION = '3.5.9';

0 commit comments

Comments
 (0)