File tree 3 files changed +14
-1
lines changed
3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " opensea-js" ,
3
- "version" : " 7.1.10 " ,
3
+ "version" : " 7.1.11 " ,
4
4
"description" : " TypeScript SDK for the OpenSea marketplace helps developers build new experiences using NFTs and our marketplace data" ,
5
5
"license" : " MIT" ,
6
6
"author" : " OpenSea Developers" ,
Original file line number Diff line number Diff line change @@ -123,6 +123,8 @@ export enum Chain {
123
123
Solana = "solana" ,
124
124
/** Zora */
125
125
Zora = "zora" ,
126
+ /** Sei */
127
+ Sei = "sei" ,
126
128
127
129
// Testnet Chains
128
130
// ⚠️NOTE: When adding to this list, also add to the util function `isTestChain`
@@ -148,6 +150,8 @@ export enum Chain {
148
150
SolanaDevnet = "soldev" ,
149
151
/** Zora Sepolia */
150
152
ZoraSepolia = "zora_sepolia" ,
153
+ /** Sei Testnet */
154
+ SeiTestnet = "sei_testnet" ,
151
155
}
152
156
153
157
/**
Original file line number Diff line number Diff line change @@ -212,6 +212,10 @@ export const getChainId = (chain: Chain) => {
212
212
return "7777777" ;
213
213
case Chain . ZoraSepolia :
214
214
return "999999999" ;
215
+ case Chain . Sei :
216
+ return "1329" ;
217
+ case Chain . SeiTestnet :
218
+ return "1328" ;
215
219
default :
216
220
throw new Error ( `Unknown chainId for ${ chain } ` ) ;
217
221
}
@@ -257,6 +261,10 @@ export const getWETHAddress = (chain: Chain) => {
257
261
case Chain . Zora :
258
262
case Chain . ZoraSepolia :
259
263
return "0x4200000000000000000000000000000000000006" ;
264
+ case Chain . Sei :
265
+ return "0xe30fedd158a2e3b13e9badaeabafc5516e95e8c7" ;
266
+ case Chain . SeiTestnet :
267
+ return "0x3921ea6cf927be80211bb57f19830700285b0ada" ;
260
268
default :
261
269
throw new Error ( `Unknown WETH address for ${ chain } ` ) ;
262
270
}
@@ -321,6 +329,7 @@ export const isTestChain = (chain: Chain): boolean => {
321
329
case Chain . OptimismSepolia :
322
330
case Chain . SolanaDevnet :
323
331
case Chain . ZoraSepolia :
332
+ case Chain . SeiTestnet :
324
333
return true ;
325
334
default :
326
335
return false ;
You can’t perform that action at this time.
0 commit comments