@sign-global/tokentable-core 1.10.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @sign-global/tokentable-core
2
2
 
3
+ ## 1.11.0
4
+
5
+ ### Minor Changes
6
+
7
+ - feat: add HyperEVM network support
8
+
3
9
  ## 1.10.0
4
10
 
5
11
  ### Minor Changes
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,10 @@ 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
+ };
343
385
  6342: {
344
386
  contractAddress: string;
345
387
  rpcUrl: "https://carrot.megaeth.com/rpc";
@@ -496,6 +538,43 @@ declare const SupportedChains: ({
496
538
  formatters?: undefined;
497
539
  serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
498
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;
499
578
  } | {
500
579
  blockExplorers: {
501
580
  readonly default: {
@@ -2415,4 +2494,4 @@ declare const getAvailableClaimAmountForSignature: ({ contractAddress, chainId,
2415
2494
  }[];
2416
2495
  }) => Promise<string | 0>;
2417
2496
 
2418
- 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,10 @@ 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
+ };
343
385
  6342: {
344
386
  contractAddress: string;
345
387
  rpcUrl: "https://carrot.megaeth.com/rpc";
@@ -496,6 +538,43 @@ declare const SupportedChains: ({
496
538
  formatters?: undefined;
497
539
  serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
498
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;
499
578
  } | {
500
579
  blockExplorers: {
501
580
  readonly default: {
@@ -2415,4 +2494,4 @@ declare const getAvailableClaimAmountForSignature: ({ contractAddress, chainId,
2415
2494
  }[];
2416
2495
  }) => Promise<string | 0>;
2417
2496
 
2418
- 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,10 @@ 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
+ },
365
389
  [import_chains.megaethTestnet.id]: {
366
390
  contractAddress: "0xa6A2d42E16a690E03bDe181319fDD085880F2605",
367
391
  rpcUrl: import_chains.megaethTestnet.rpcUrls.default.http[0]
@@ -446,6 +470,7 @@ var SupportedChains = [
446
470
  signBrBTestnet,
447
471
  import_chains.sonic,
448
472
  import_chains.xLayer,
473
+ hyperEVM,
449
474
  import_chains.sepolia,
450
475
  import_chains.baseSepolia,
451
476
  import_chains.zetachainAthensTestnet,
@@ -13043,6 +13068,7 @@ var AirdropService4 = class {
13043
13068
  getOrCreateAssociatedTokenAccount,
13044
13069
  getTonProjectIdByAddress,
13045
13070
  hexStrToU8Array,
13071
+ hyperEVM,
13046
13072
  isBeforeByUnix,
13047
13073
  isGreaterThan,
13048
13074
  isMobile,