@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/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -278,6 +278,44 @@ declare const aptosTestNet: {
|
|
|
278
278
|
};
|
|
279
279
|
testnet: boolean;
|
|
280
280
|
};
|
|
281
|
+
declare const hyperEVM: {
|
|
282
|
+
blockExplorers: {
|
|
283
|
+
readonly default: {
|
|
284
|
+
readonly name: "HyperEVMScan";
|
|
285
|
+
readonly url: "https://hyperevmscan.io/";
|
|
286
|
+
};
|
|
287
|
+
};
|
|
288
|
+
blockTime?: number | undefined | undefined;
|
|
289
|
+
contracts?: {
|
|
290
|
+
[x: string]: viem.ChainContract | {
|
|
291
|
+
[sourceId: number]: viem.ChainContract | undefined;
|
|
292
|
+
} | undefined;
|
|
293
|
+
ensRegistry?: viem.ChainContract | undefined;
|
|
294
|
+
ensUniversalResolver?: viem.ChainContract | undefined;
|
|
295
|
+
multicall3?: viem.ChainContract | undefined;
|
|
296
|
+
erc6492Verifier?: viem.ChainContract | undefined;
|
|
297
|
+
} | undefined;
|
|
298
|
+
ensTlds?: readonly string[] | undefined;
|
|
299
|
+
id: 999;
|
|
300
|
+
name: "HyperEVM";
|
|
301
|
+
nativeCurrency: {
|
|
302
|
+
readonly name: "HYPE";
|
|
303
|
+
readonly symbol: "HYPE";
|
|
304
|
+
readonly decimals: 18;
|
|
305
|
+
};
|
|
306
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
307
|
+
rpcUrls: {
|
|
308
|
+
readonly default: {
|
|
309
|
+
readonly http: readonly ["https://rpc.hyperliquid.xyz/evm"];
|
|
310
|
+
};
|
|
311
|
+
};
|
|
312
|
+
sourceId?: number | undefined | undefined;
|
|
313
|
+
testnet: false;
|
|
314
|
+
custom?: Record<string, unknown> | undefined;
|
|
315
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
316
|
+
formatters?: undefined;
|
|
317
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
318
|
+
};
|
|
281
319
|
|
|
282
320
|
declare const ChainConfig: {
|
|
283
321
|
[solanaDevNet.id]: {
|
|
@@ -340,6 +378,14 @@ declare const ChainConfig: {
|
|
|
340
378
|
contractAddress: string;
|
|
341
379
|
rpcUrl: string;
|
|
342
380
|
};
|
|
381
|
+
999: {
|
|
382
|
+
contractAddress: string;
|
|
383
|
+
rpcUrl: "https://rpc.hyperliquid.xyz/evm";
|
|
384
|
+
};
|
|
385
|
+
6342: {
|
|
386
|
+
contractAddress: string;
|
|
387
|
+
rpcUrl: "https://carrot.megaeth.com/rpc";
|
|
388
|
+
};
|
|
343
389
|
80085: {
|
|
344
390
|
contractAddress: string;
|
|
345
391
|
rpcUrl: string;
|
|
@@ -492,6 +538,43 @@ declare const SupportedChains: ({
|
|
|
492
538
|
formatters?: undefined;
|
|
493
539
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
494
540
|
readonly network: "Sign Brb Testnet";
|
|
541
|
+
} | {
|
|
542
|
+
blockExplorers: {
|
|
543
|
+
readonly default: {
|
|
544
|
+
readonly name: "HyperEVMScan";
|
|
545
|
+
readonly url: "https://hyperevmscan.io/";
|
|
546
|
+
};
|
|
547
|
+
};
|
|
548
|
+
blockTime?: number | undefined | undefined;
|
|
549
|
+
contracts?: {
|
|
550
|
+
[x: string]: viem.ChainContract | {
|
|
551
|
+
[sourceId: number]: viem.ChainContract | undefined;
|
|
552
|
+
} | undefined;
|
|
553
|
+
ensRegistry?: viem.ChainContract | undefined;
|
|
554
|
+
ensUniversalResolver?: viem.ChainContract | undefined;
|
|
555
|
+
multicall3?: viem.ChainContract | undefined;
|
|
556
|
+
erc6492Verifier?: viem.ChainContract | undefined;
|
|
557
|
+
} | undefined;
|
|
558
|
+
ensTlds?: readonly string[] | undefined;
|
|
559
|
+
id: 999;
|
|
560
|
+
name: "HyperEVM";
|
|
561
|
+
nativeCurrency: {
|
|
562
|
+
readonly name: "HYPE";
|
|
563
|
+
readonly symbol: "HYPE";
|
|
564
|
+
readonly decimals: 18;
|
|
565
|
+
};
|
|
566
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
567
|
+
rpcUrls: {
|
|
568
|
+
readonly default: {
|
|
569
|
+
readonly http: readonly ["https://rpc.hyperliquid.xyz/evm"];
|
|
570
|
+
};
|
|
571
|
+
};
|
|
572
|
+
sourceId?: number | undefined | undefined;
|
|
573
|
+
testnet: false;
|
|
574
|
+
custom?: Record<string, unknown> | undefined;
|
|
575
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
576
|
+
formatters?: undefined;
|
|
577
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
495
578
|
} | {
|
|
496
579
|
blockExplorers: {
|
|
497
580
|
readonly default: {
|
|
@@ -1358,6 +1441,40 @@ declare const SupportedChains: ({
|
|
|
1358
1441
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
1359
1442
|
formatters?: undefined;
|
|
1360
1443
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
1444
|
+
} | {
|
|
1445
|
+
blockExplorers: {
|
|
1446
|
+
readonly default: {
|
|
1447
|
+
readonly name: "MegaETH Testnet Explorer";
|
|
1448
|
+
readonly url: "https://www.megaexplorer.xyz/";
|
|
1449
|
+
};
|
|
1450
|
+
};
|
|
1451
|
+
blockTime: 1000;
|
|
1452
|
+
contracts: {
|
|
1453
|
+
readonly multicall3: {
|
|
1454
|
+
readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
|
1455
|
+
};
|
|
1456
|
+
};
|
|
1457
|
+
ensTlds?: readonly string[] | undefined;
|
|
1458
|
+
id: 6342;
|
|
1459
|
+
name: "MegaETH Testnet";
|
|
1460
|
+
nativeCurrency: {
|
|
1461
|
+
readonly name: "MegaETH Testnet Ether";
|
|
1462
|
+
readonly symbol: "ETH";
|
|
1463
|
+
readonly decimals: 18;
|
|
1464
|
+
};
|
|
1465
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
1466
|
+
rpcUrls: {
|
|
1467
|
+
readonly default: {
|
|
1468
|
+
readonly http: readonly ["https://carrot.megaeth.com/rpc"];
|
|
1469
|
+
readonly webSocket: readonly ["wss://carrot.megaeth.com/ws"];
|
|
1470
|
+
};
|
|
1471
|
+
};
|
|
1472
|
+
sourceId?: number | undefined | undefined;
|
|
1473
|
+
testnet: true;
|
|
1474
|
+
custom?: Record<string, unknown> | undefined;
|
|
1475
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
1476
|
+
formatters?: undefined;
|
|
1477
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
1361
1478
|
} | {
|
|
1362
1479
|
blockExplorers: {
|
|
1363
1480
|
readonly default: {
|
|
@@ -2377,4 +2494,4 @@ declare const getAvailableClaimAmountForSignature: ({ contractAddress, chainId,
|
|
|
2377
2494
|
}[];
|
|
2378
2495
|
}) => Promise<string | 0>;
|
|
2379
2496
|
|
|
2380
|
-
export { AirdropSigIdentityTypeEnum, ApiClient, type ApiClientOptions, type ApiRequestOptions, AirdropService as AptosAirdropService, type AptosWalletClient, CONST, ChainConfig, type ChainId, ChainType, ETokenType, ErrorCode, AirdropService$3 as EvmAirdropService, EvmAirdropVersionEnum, type EvmContractClientOption, SignatureAirdropService$2 as EvmSignatureAirdropService, type FetchTokenMetadataOptions, type FetchTokenVersionOptions, type IAirdropClaim, type IAirdropClaimData, type IAirdropData, type IAirdropOptions, type IAirdropService, type IAirdropSignatureClaim, type IAirdropSignatureData, type IAirdropSignatureIdentity, type IClaimSignature, type IContractConfig, type IExtraData, type IProject, type IProjectExtra, type ISignatureClaimData, type IWalletClient, type Identity, AirdropService$2 as SolanaAirdropService, SignatureAirdropService$1 as SolanaSignatureAirdropService, SplTokenVersion, SignatureAirdropService as SuiSignatureAirdropService, type SupportedChainType, SupportedChains, type ThemeConfig, AirdropService$1 as TonAirdropService, TonAirdropVersionEnum, TonWalletService, ZERO_ADDRESS, apiClient, aptosTestNet, batchCheckClaimedForSignature, bindWallet, checkEligibility, checkGetSignatures, cleanUrlParams, clusterApiUrl, connectDiscordApi, connectGoogleApi, connectTwitter, delay, disconnectRecipient, fetchTokenVersion, flipAddressType, getAirdropContractConfig, getAirdropPro, getAirdropProject, getAirdropProjectId, getAirdropQuery, getAvailableClaimAmountForSignature, getChainById, getChainConfig, getChainRpc, getCustomNaNoId, getJettonInfo, getOrCreateAssociatedTokenAccount, getTonProjectIdByAddress, hexStrToU8Array, isBeforeByUnix, isGreaterThan, isMobile, mevmDevNet, retry, safeParseJSON, safePlus, signBrBTestnet, solanaDevNet, solanaMainNet, suiMainNet, suiTestNet, tonMainNet, tonTestNet };
|
|
2497
|
+
export { AirdropSigIdentityTypeEnum, ApiClient, type ApiClientOptions, type ApiRequestOptions, AirdropService as AptosAirdropService, type AptosWalletClient, CONST, ChainConfig, type ChainId, ChainType, ETokenType, ErrorCode, AirdropService$3 as EvmAirdropService, EvmAirdropVersionEnum, type EvmContractClientOption, SignatureAirdropService$2 as EvmSignatureAirdropService, type FetchTokenMetadataOptions, type FetchTokenVersionOptions, type IAirdropClaim, type IAirdropClaimData, type IAirdropData, type IAirdropOptions, type IAirdropService, type IAirdropSignatureClaim, type IAirdropSignatureData, type IAirdropSignatureIdentity, type IClaimSignature, type IContractConfig, type IExtraData, type IProject, type IProjectExtra, type ISignatureClaimData, type IWalletClient, type Identity, AirdropService$2 as SolanaAirdropService, SignatureAirdropService$1 as SolanaSignatureAirdropService, SplTokenVersion, SignatureAirdropService as SuiSignatureAirdropService, type SupportedChainType, SupportedChains, type ThemeConfig, AirdropService$1 as TonAirdropService, TonAirdropVersionEnum, TonWalletService, ZERO_ADDRESS, apiClient, aptosTestNet, batchCheckClaimedForSignature, bindWallet, checkEligibility, checkGetSignatures, cleanUrlParams, clusterApiUrl, connectDiscordApi, connectGoogleApi, connectTwitter, delay, disconnectRecipient, fetchTokenVersion, flipAddressType, getAirdropContractConfig, getAirdropPro, getAirdropProject, getAirdropProjectId, getAirdropQuery, getAvailableClaimAmountForSignature, getChainById, getChainConfig, getChainRpc, getCustomNaNoId, getJettonInfo, getOrCreateAssociatedTokenAccount, getTonProjectIdByAddress, hexStrToU8Array, hyperEVM, isBeforeByUnix, isGreaterThan, isMobile, mevmDevNet, retry, safeParseJSON, safePlus, signBrBTestnet, solanaDevNet, solanaMainNet, suiMainNet, suiTestNet, tonMainNet, tonTestNet };
|
package/dist/index.d.ts
CHANGED
|
@@ -278,6 +278,44 @@ declare const aptosTestNet: {
|
|
|
278
278
|
};
|
|
279
279
|
testnet: boolean;
|
|
280
280
|
};
|
|
281
|
+
declare const hyperEVM: {
|
|
282
|
+
blockExplorers: {
|
|
283
|
+
readonly default: {
|
|
284
|
+
readonly name: "HyperEVMScan";
|
|
285
|
+
readonly url: "https://hyperevmscan.io/";
|
|
286
|
+
};
|
|
287
|
+
};
|
|
288
|
+
blockTime?: number | undefined | undefined;
|
|
289
|
+
contracts?: {
|
|
290
|
+
[x: string]: viem.ChainContract | {
|
|
291
|
+
[sourceId: number]: viem.ChainContract | undefined;
|
|
292
|
+
} | undefined;
|
|
293
|
+
ensRegistry?: viem.ChainContract | undefined;
|
|
294
|
+
ensUniversalResolver?: viem.ChainContract | undefined;
|
|
295
|
+
multicall3?: viem.ChainContract | undefined;
|
|
296
|
+
erc6492Verifier?: viem.ChainContract | undefined;
|
|
297
|
+
} | undefined;
|
|
298
|
+
ensTlds?: readonly string[] | undefined;
|
|
299
|
+
id: 999;
|
|
300
|
+
name: "HyperEVM";
|
|
301
|
+
nativeCurrency: {
|
|
302
|
+
readonly name: "HYPE";
|
|
303
|
+
readonly symbol: "HYPE";
|
|
304
|
+
readonly decimals: 18;
|
|
305
|
+
};
|
|
306
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
307
|
+
rpcUrls: {
|
|
308
|
+
readonly default: {
|
|
309
|
+
readonly http: readonly ["https://rpc.hyperliquid.xyz/evm"];
|
|
310
|
+
};
|
|
311
|
+
};
|
|
312
|
+
sourceId?: number | undefined | undefined;
|
|
313
|
+
testnet: false;
|
|
314
|
+
custom?: Record<string, unknown> | undefined;
|
|
315
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
316
|
+
formatters?: undefined;
|
|
317
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
318
|
+
};
|
|
281
319
|
|
|
282
320
|
declare const ChainConfig: {
|
|
283
321
|
[solanaDevNet.id]: {
|
|
@@ -340,6 +378,14 @@ declare const ChainConfig: {
|
|
|
340
378
|
contractAddress: string;
|
|
341
379
|
rpcUrl: string;
|
|
342
380
|
};
|
|
381
|
+
999: {
|
|
382
|
+
contractAddress: string;
|
|
383
|
+
rpcUrl: "https://rpc.hyperliquid.xyz/evm";
|
|
384
|
+
};
|
|
385
|
+
6342: {
|
|
386
|
+
contractAddress: string;
|
|
387
|
+
rpcUrl: "https://carrot.megaeth.com/rpc";
|
|
388
|
+
};
|
|
343
389
|
80085: {
|
|
344
390
|
contractAddress: string;
|
|
345
391
|
rpcUrl: string;
|
|
@@ -492,6 +538,43 @@ declare const SupportedChains: ({
|
|
|
492
538
|
formatters?: undefined;
|
|
493
539
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
494
540
|
readonly network: "Sign Brb Testnet";
|
|
541
|
+
} | {
|
|
542
|
+
blockExplorers: {
|
|
543
|
+
readonly default: {
|
|
544
|
+
readonly name: "HyperEVMScan";
|
|
545
|
+
readonly url: "https://hyperevmscan.io/";
|
|
546
|
+
};
|
|
547
|
+
};
|
|
548
|
+
blockTime?: number | undefined | undefined;
|
|
549
|
+
contracts?: {
|
|
550
|
+
[x: string]: viem.ChainContract | {
|
|
551
|
+
[sourceId: number]: viem.ChainContract | undefined;
|
|
552
|
+
} | undefined;
|
|
553
|
+
ensRegistry?: viem.ChainContract | undefined;
|
|
554
|
+
ensUniversalResolver?: viem.ChainContract | undefined;
|
|
555
|
+
multicall3?: viem.ChainContract | undefined;
|
|
556
|
+
erc6492Verifier?: viem.ChainContract | undefined;
|
|
557
|
+
} | undefined;
|
|
558
|
+
ensTlds?: readonly string[] | undefined;
|
|
559
|
+
id: 999;
|
|
560
|
+
name: "HyperEVM";
|
|
561
|
+
nativeCurrency: {
|
|
562
|
+
readonly name: "HYPE";
|
|
563
|
+
readonly symbol: "HYPE";
|
|
564
|
+
readonly decimals: 18;
|
|
565
|
+
};
|
|
566
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
567
|
+
rpcUrls: {
|
|
568
|
+
readonly default: {
|
|
569
|
+
readonly http: readonly ["https://rpc.hyperliquid.xyz/evm"];
|
|
570
|
+
};
|
|
571
|
+
};
|
|
572
|
+
sourceId?: number | undefined | undefined;
|
|
573
|
+
testnet: false;
|
|
574
|
+
custom?: Record<string, unknown> | undefined;
|
|
575
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
576
|
+
formatters?: undefined;
|
|
577
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
495
578
|
} | {
|
|
496
579
|
blockExplorers: {
|
|
497
580
|
readonly default: {
|
|
@@ -1358,6 +1441,40 @@ declare const SupportedChains: ({
|
|
|
1358
1441
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
1359
1442
|
formatters?: undefined;
|
|
1360
1443
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
1444
|
+
} | {
|
|
1445
|
+
blockExplorers: {
|
|
1446
|
+
readonly default: {
|
|
1447
|
+
readonly name: "MegaETH Testnet Explorer";
|
|
1448
|
+
readonly url: "https://www.megaexplorer.xyz/";
|
|
1449
|
+
};
|
|
1450
|
+
};
|
|
1451
|
+
blockTime: 1000;
|
|
1452
|
+
contracts: {
|
|
1453
|
+
readonly multicall3: {
|
|
1454
|
+
readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
|
1455
|
+
};
|
|
1456
|
+
};
|
|
1457
|
+
ensTlds?: readonly string[] | undefined;
|
|
1458
|
+
id: 6342;
|
|
1459
|
+
name: "MegaETH Testnet";
|
|
1460
|
+
nativeCurrency: {
|
|
1461
|
+
readonly name: "MegaETH Testnet Ether";
|
|
1462
|
+
readonly symbol: "ETH";
|
|
1463
|
+
readonly decimals: 18;
|
|
1464
|
+
};
|
|
1465
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
1466
|
+
rpcUrls: {
|
|
1467
|
+
readonly default: {
|
|
1468
|
+
readonly http: readonly ["https://carrot.megaeth.com/rpc"];
|
|
1469
|
+
readonly webSocket: readonly ["wss://carrot.megaeth.com/ws"];
|
|
1470
|
+
};
|
|
1471
|
+
};
|
|
1472
|
+
sourceId?: number | undefined | undefined;
|
|
1473
|
+
testnet: true;
|
|
1474
|
+
custom?: Record<string, unknown> | undefined;
|
|
1475
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
1476
|
+
formatters?: undefined;
|
|
1477
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
1361
1478
|
} | {
|
|
1362
1479
|
blockExplorers: {
|
|
1363
1480
|
readonly default: {
|
|
@@ -2377,4 +2494,4 @@ declare const getAvailableClaimAmountForSignature: ({ contractAddress, chainId,
|
|
|
2377
2494
|
}[];
|
|
2378
2495
|
}) => Promise<string | 0>;
|
|
2379
2496
|
|
|
2380
|
-
export { AirdropSigIdentityTypeEnum, ApiClient, type ApiClientOptions, type ApiRequestOptions, AirdropService as AptosAirdropService, type AptosWalletClient, CONST, ChainConfig, type ChainId, ChainType, ETokenType, ErrorCode, AirdropService$3 as EvmAirdropService, EvmAirdropVersionEnum, type EvmContractClientOption, SignatureAirdropService$2 as EvmSignatureAirdropService, type FetchTokenMetadataOptions, type FetchTokenVersionOptions, type IAirdropClaim, type IAirdropClaimData, type IAirdropData, type IAirdropOptions, type IAirdropService, type IAirdropSignatureClaim, type IAirdropSignatureData, type IAirdropSignatureIdentity, type IClaimSignature, type IContractConfig, type IExtraData, type IProject, type IProjectExtra, type ISignatureClaimData, type IWalletClient, type Identity, AirdropService$2 as SolanaAirdropService, SignatureAirdropService$1 as SolanaSignatureAirdropService, SplTokenVersion, SignatureAirdropService as SuiSignatureAirdropService, type SupportedChainType, SupportedChains, type ThemeConfig, AirdropService$1 as TonAirdropService, TonAirdropVersionEnum, TonWalletService, ZERO_ADDRESS, apiClient, aptosTestNet, batchCheckClaimedForSignature, bindWallet, checkEligibility, checkGetSignatures, cleanUrlParams, clusterApiUrl, connectDiscordApi, connectGoogleApi, connectTwitter, delay, disconnectRecipient, fetchTokenVersion, flipAddressType, getAirdropContractConfig, getAirdropPro, getAirdropProject, getAirdropProjectId, getAirdropQuery, getAvailableClaimAmountForSignature, getChainById, getChainConfig, getChainRpc, getCustomNaNoId, getJettonInfo, getOrCreateAssociatedTokenAccount, getTonProjectIdByAddress, hexStrToU8Array, isBeforeByUnix, isGreaterThan, isMobile, mevmDevNet, retry, safeParseJSON, safePlus, signBrBTestnet, solanaDevNet, solanaMainNet, suiMainNet, suiTestNet, tonMainNet, tonTestNet };
|
|
2497
|
+
export { AirdropSigIdentityTypeEnum, ApiClient, type ApiClientOptions, type ApiRequestOptions, AirdropService as AptosAirdropService, type AptosWalletClient, CONST, ChainConfig, type ChainId, ChainType, ETokenType, ErrorCode, AirdropService$3 as EvmAirdropService, EvmAirdropVersionEnum, type EvmContractClientOption, SignatureAirdropService$2 as EvmSignatureAirdropService, type FetchTokenMetadataOptions, type FetchTokenVersionOptions, type IAirdropClaim, type IAirdropClaimData, type IAirdropData, type IAirdropOptions, type IAirdropService, type IAirdropSignatureClaim, type IAirdropSignatureData, type IAirdropSignatureIdentity, type IClaimSignature, type IContractConfig, type IExtraData, type IProject, type IProjectExtra, type ISignatureClaimData, type IWalletClient, type Identity, AirdropService$2 as SolanaAirdropService, SignatureAirdropService$1 as SolanaSignatureAirdropService, SplTokenVersion, SignatureAirdropService as SuiSignatureAirdropService, type SupportedChainType, SupportedChains, type ThemeConfig, AirdropService$1 as TonAirdropService, TonAirdropVersionEnum, TonWalletService, ZERO_ADDRESS, apiClient, aptosTestNet, batchCheckClaimedForSignature, bindWallet, checkEligibility, checkGetSignatures, cleanUrlParams, clusterApiUrl, connectDiscordApi, connectGoogleApi, connectTwitter, delay, disconnectRecipient, fetchTokenVersion, flipAddressType, getAirdropContractConfig, getAirdropPro, getAirdropProject, getAirdropProjectId, getAirdropQuery, getAvailableClaimAmountForSignature, getChainById, getChainConfig, getChainRpc, getCustomNaNoId, getJettonInfo, getOrCreateAssociatedTokenAccount, getTonProjectIdByAddress, hexStrToU8Array, hyperEVM, isBeforeByUnix, isGreaterThan, isMobile, mevmDevNet, retry, safeParseJSON, safePlus, signBrBTestnet, solanaDevNet, solanaMainNet, suiMainNet, suiTestNet, tonMainNet, tonTestNet };
|
package/dist/index.js
CHANGED
|
@@ -79,6 +79,7 @@ __export(index_exports, {
|
|
|
79
79
|
getOrCreateAssociatedTokenAccount: () => getOrCreateAssociatedTokenAccount,
|
|
80
80
|
getTonProjectIdByAddress: () => getTonProjectIdByAddress,
|
|
81
81
|
hexStrToU8Array: () => hexStrToU8Array,
|
|
82
|
+
hyperEVM: () => hyperEVM,
|
|
82
83
|
isBeforeByUnix: () => isBeforeByUnix,
|
|
83
84
|
isGreaterThan: () => isGreaterThan,
|
|
84
85
|
isMobile: () => isMobile,
|
|
@@ -322,6 +323,25 @@ var aptosTestNet = {
|
|
|
322
323
|
},
|
|
323
324
|
testnet: true
|
|
324
325
|
};
|
|
326
|
+
var hyperEVM = (0, import_viem.defineChain)({
|
|
327
|
+
id: 999,
|
|
328
|
+
name: "HyperEVM",
|
|
329
|
+
nativeCurrency: {
|
|
330
|
+
name: "HYPE",
|
|
331
|
+
symbol: "HYPE",
|
|
332
|
+
decimals: 18
|
|
333
|
+
},
|
|
334
|
+
rpcUrls: {
|
|
335
|
+
default: { http: ["https://rpc.hyperliquid.xyz/evm"] }
|
|
336
|
+
},
|
|
337
|
+
blockExplorers: {
|
|
338
|
+
default: {
|
|
339
|
+
name: "HyperEVMScan",
|
|
340
|
+
url: "https://hyperevmscan.io/"
|
|
341
|
+
}
|
|
342
|
+
},
|
|
343
|
+
testnet: false
|
|
344
|
+
});
|
|
325
345
|
|
|
326
346
|
// src/constants/chain-config.ts
|
|
327
347
|
var import_sdk2 = require("@tonconnect/sdk");
|
|
@@ -362,6 +382,14 @@ var ChainConfig = {
|
|
|
362
382
|
contractAddress: "0xeD09c23677D02f4f486E55f0f081cfc114EEa53b",
|
|
363
383
|
rpcUrl: "https://arb-mainnet.g.alchemy.com/v2/udrqNPSB6i5n5L6QSM31Ng72h_hFOrVT"
|
|
364
384
|
},
|
|
385
|
+
[hyperEVM.id]: {
|
|
386
|
+
contractAddress: "0xeD09c23677D02f4f486E55f0f081cfc114EEa53b",
|
|
387
|
+
rpcUrl: hyperEVM.rpcUrls.default.http[0]
|
|
388
|
+
},
|
|
389
|
+
[import_chains.megaethTestnet.id]: {
|
|
390
|
+
contractAddress: "0xa6A2d42E16a690E03bDe181319fDD085880F2605",
|
|
391
|
+
rpcUrl: import_chains.megaethTestnet.rpcUrls.default.http[0]
|
|
392
|
+
},
|
|
365
393
|
[import_chains.berachainTestnet.id]: {
|
|
366
394
|
contractAddress: "",
|
|
367
395
|
rpcUrl: "",
|
|
@@ -435,20 +463,22 @@ var SupportedChains = [
|
|
|
435
463
|
import_chains.bsc,
|
|
436
464
|
import_chains.base,
|
|
437
465
|
import_chains.cyber,
|
|
466
|
+
import_chains.zetachain,
|
|
467
|
+
import_chains.arbitrum,
|
|
468
|
+
tonTestNet,
|
|
469
|
+
tonMainNet,
|
|
470
|
+
signBrBTestnet,
|
|
471
|
+
import_chains.sonic,
|
|
472
|
+
import_chains.xLayer,
|
|
473
|
+
hyperEVM,
|
|
438
474
|
import_chains.sepolia,
|
|
439
475
|
import_chains.baseSepolia,
|
|
440
|
-
import_chains.zetachain,
|
|
441
476
|
import_chains.zetachainAthensTestnet,
|
|
442
477
|
import_chains.berachainTestnet,
|
|
443
478
|
import_chains.polygonMumbai,
|
|
444
479
|
import_chains.polygonAmoy,
|
|
445
480
|
mevmDevNet,
|
|
446
|
-
import_chains.
|
|
447
|
-
tonTestNet,
|
|
448
|
-
tonMainNet,
|
|
449
|
-
signBrBTestnet,
|
|
450
|
-
import_chains.sonic,
|
|
451
|
-
import_chains.xLayer
|
|
481
|
+
import_chains.megaethTestnet
|
|
452
482
|
];
|
|
453
483
|
|
|
454
484
|
// src/constants/index.ts
|
|
@@ -13038,6 +13068,7 @@ var AirdropService4 = class {
|
|
|
13038
13068
|
getOrCreateAssociatedTokenAccount,
|
|
13039
13069
|
getTonProjectIdByAddress,
|
|
13040
13070
|
hexStrToU8Array,
|
|
13071
|
+
hyperEVM,
|
|
13041
13072
|
isBeforeByUnix,
|
|
13042
13073
|
isGreaterThan,
|
|
13043
13074
|
isMobile,
|