@sign-global/tokentable-core 1.9.0 → 1.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/index.d.mts +118 -1
- package/dist/index.d.ts +118 -1
- package/dist/index.js +38 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +39 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/constants/chain-config.ts +20 -8
- package/src/constants/network.ts +20 -0
package/dist/index.mjs
CHANGED
|
@@ -13,7 +13,8 @@ import {
|
|
|
13
13
|
berachainTestnet,
|
|
14
14
|
arbitrum,
|
|
15
15
|
sonic,
|
|
16
|
-
xLayer
|
|
16
|
+
xLayer,
|
|
17
|
+
megaethTestnet
|
|
17
18
|
} from "viem/chains";
|
|
18
19
|
|
|
19
20
|
// src/constants/network.ts
|
|
@@ -239,6 +240,25 @@ var aptosTestNet = {
|
|
|
239
240
|
},
|
|
240
241
|
testnet: true
|
|
241
242
|
};
|
|
243
|
+
var hyperEVM = defineChain({
|
|
244
|
+
id: 999,
|
|
245
|
+
name: "HyperEVM",
|
|
246
|
+
nativeCurrency: {
|
|
247
|
+
name: "HYPE",
|
|
248
|
+
symbol: "HYPE",
|
|
249
|
+
decimals: 18
|
|
250
|
+
},
|
|
251
|
+
rpcUrls: {
|
|
252
|
+
default: { http: ["https://rpc.hyperliquid.xyz/evm"] }
|
|
253
|
+
},
|
|
254
|
+
blockExplorers: {
|
|
255
|
+
default: {
|
|
256
|
+
name: "HyperEVMScan",
|
|
257
|
+
url: "https://hyperevmscan.io/"
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
testnet: false
|
|
261
|
+
});
|
|
242
262
|
|
|
243
263
|
// src/constants/chain-config.ts
|
|
244
264
|
import { CHAIN as CHAIN2 } from "@tonconnect/sdk";
|
|
@@ -279,6 +299,14 @@ var ChainConfig = {
|
|
|
279
299
|
contractAddress: "0xeD09c23677D02f4f486E55f0f081cfc114EEa53b",
|
|
280
300
|
rpcUrl: "https://arb-mainnet.g.alchemy.com/v2/udrqNPSB6i5n5L6QSM31Ng72h_hFOrVT"
|
|
281
301
|
},
|
|
302
|
+
[hyperEVM.id]: {
|
|
303
|
+
contractAddress: "0xeD09c23677D02f4f486E55f0f081cfc114EEa53b",
|
|
304
|
+
rpcUrl: hyperEVM.rpcUrls.default.http[0]
|
|
305
|
+
},
|
|
306
|
+
[megaethTestnet.id]: {
|
|
307
|
+
contractAddress: "0xa6A2d42E16a690E03bDe181319fDD085880F2605",
|
|
308
|
+
rpcUrl: megaethTestnet.rpcUrls.default.http[0]
|
|
309
|
+
},
|
|
282
310
|
[berachainTestnet.id]: {
|
|
283
311
|
contractAddress: "",
|
|
284
312
|
rpcUrl: "",
|
|
@@ -352,20 +380,22 @@ var SupportedChains = [
|
|
|
352
380
|
bsc,
|
|
353
381
|
base,
|
|
354
382
|
cyber,
|
|
383
|
+
zetachain,
|
|
384
|
+
arbitrum,
|
|
385
|
+
tonTestNet,
|
|
386
|
+
tonMainNet,
|
|
387
|
+
signBrBTestnet,
|
|
388
|
+
sonic,
|
|
389
|
+
xLayer,
|
|
390
|
+
hyperEVM,
|
|
355
391
|
sepolia,
|
|
356
392
|
baseSepolia,
|
|
357
|
-
zetachain,
|
|
358
393
|
zetachainAthensTestnet,
|
|
359
394
|
berachainTestnet,
|
|
360
395
|
polygonMumbai,
|
|
361
396
|
polygonAmoy,
|
|
362
397
|
mevmDevNet,
|
|
363
|
-
|
|
364
|
-
tonTestNet,
|
|
365
|
-
tonMainNet,
|
|
366
|
-
signBrBTestnet,
|
|
367
|
-
sonic,
|
|
368
|
-
xLayer
|
|
398
|
+
megaethTestnet
|
|
369
399
|
];
|
|
370
400
|
|
|
371
401
|
// src/constants/index.ts
|
|
@@ -12993,6 +13023,7 @@ export {
|
|
|
12993
13023
|
getOrCreateAssociatedTokenAccount,
|
|
12994
13024
|
getTonProjectIdByAddress,
|
|
12995
13025
|
hexStrToU8Array,
|
|
13026
|
+
hyperEVM,
|
|
12996
13027
|
isBeforeByUnix,
|
|
12997
13028
|
isGreaterThan,
|
|
12998
13029
|
isMobile,
|