@wormhole-foundation/sdk-base 3.5.0 → 3.6.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/dist/cjs/constants/chains.d.ts +13 -7
- package/dist/cjs/constants/chains.d.ts.map +1 -1
- package/dist/cjs/constants/chains.js +4 -0
- package/dist/cjs/constants/chains.js.map +1 -1
- package/dist/cjs/constants/circle.d.ts +20 -1
- package/dist/cjs/constants/circle.d.ts.map +1 -1
- package/dist/cjs/constants/circle.js +5 -2
- package/dist/cjs/constants/circle.js.map +1 -1
- package/dist/cjs/constants/contracts/core.d.ts +1 -1
- package/dist/cjs/constants/contracts/core.d.ts.map +1 -1
- package/dist/cjs/constants/contracts/core.js +8 -2
- package/dist/cjs/constants/contracts/core.js.map +1 -1
- package/dist/cjs/constants/contracts/executor.d.ts.map +1 -1
- package/dist/cjs/constants/contracts/executor.js +2 -0
- package/dist/cjs/constants/contracts/executor.js.map +1 -1
- package/dist/cjs/constants/contracts/index.d.ts +99 -4
- package/dist/cjs/constants/contracts/index.d.ts.map +1 -1
- package/dist/cjs/constants/contracts/tokenBridge.d.ts +1 -1
- package/dist/cjs/constants/contracts/tokenBridge.d.ts.map +1 -1
- package/dist/cjs/constants/contracts/tokenBridge.js +3 -2
- package/dist/cjs/constants/contracts/tokenBridge.js.map +1 -1
- package/dist/cjs/constants/decimals.d.ts +2 -1
- package/dist/cjs/constants/decimals.d.ts.map +1 -1
- package/dist/cjs/constants/decimals.js +1 -0
- package/dist/cjs/constants/decimals.js.map +1 -1
- package/dist/cjs/constants/explorer.d.ts +1123 -10
- package/dist/cjs/constants/explorer.d.ts.map +1 -1
- package/dist/cjs/constants/explorer.js +64 -1
- package/dist/cjs/constants/explorer.js.map +1 -1
- package/dist/cjs/constants/finality.d.ts +8 -3
- package/dist/cjs/constants/finality.d.ts.map +1 -1
- package/dist/cjs/constants/finality.js +5 -0
- package/dist/cjs/constants/finality.js.map +1 -1
- package/dist/cjs/constants/nativeChainIds.d.ts +43 -4
- package/dist/cjs/constants/nativeChainIds.d.ts.map +1 -1
- package/dist/cjs/constants/nativeChainIds.js +2 -0
- package/dist/cjs/constants/nativeChainIds.js.map +1 -1
- package/dist/cjs/constants/platforms.d.ts +14 -9
- package/dist/cjs/constants/platforms.d.ts.map +1 -1
- package/dist/cjs/constants/platforms.js +8 -1
- package/dist/cjs/constants/platforms.js.map +1 -1
- package/dist/cjs/constants/rpc.d.ts +1 -1
- package/dist/cjs/constants/rpc.d.ts.map +1 -1
- package/dist/cjs/constants/rpc.js +5 -0
- package/dist/cjs/constants/rpc.js.map +1 -1
- package/dist/esm/constants/chains.d.ts +13 -7
- package/dist/esm/constants/chains.d.ts.map +1 -1
- package/dist/esm/constants/chains.js +4 -0
- package/dist/esm/constants/chains.js.map +1 -1
- package/dist/esm/constants/circle.d.ts +20 -1
- package/dist/esm/constants/circle.d.ts.map +1 -1
- package/dist/esm/constants/circle.js +5 -2
- package/dist/esm/constants/circle.js.map +1 -1
- package/dist/esm/constants/contracts/core.d.ts +1 -1
- package/dist/esm/constants/contracts/core.d.ts.map +1 -1
- package/dist/esm/constants/contracts/core.js +8 -2
- package/dist/esm/constants/contracts/core.js.map +1 -1
- package/dist/esm/constants/contracts/executor.d.ts.map +1 -1
- package/dist/esm/constants/contracts/executor.js +2 -0
- package/dist/esm/constants/contracts/executor.js.map +1 -1
- package/dist/esm/constants/contracts/index.d.ts +99 -4
- package/dist/esm/constants/contracts/index.d.ts.map +1 -1
- package/dist/esm/constants/contracts/tokenBridge.d.ts +1 -1
- package/dist/esm/constants/contracts/tokenBridge.d.ts.map +1 -1
- package/dist/esm/constants/contracts/tokenBridge.js +3 -2
- package/dist/esm/constants/contracts/tokenBridge.js.map +1 -1
- package/dist/esm/constants/decimals.d.ts +2 -1
- package/dist/esm/constants/decimals.d.ts.map +1 -1
- package/dist/esm/constants/decimals.js +2 -1
- package/dist/esm/constants/decimals.js.map +1 -1
- package/dist/esm/constants/explorer.d.ts +1123 -10
- package/dist/esm/constants/explorer.d.ts.map +1 -1
- package/dist/esm/constants/explorer.js +64 -1
- package/dist/esm/constants/explorer.js.map +1 -1
- package/dist/esm/constants/finality.d.ts +8 -3
- package/dist/esm/constants/finality.d.ts.map +1 -1
- package/dist/esm/constants/finality.js +5 -0
- package/dist/esm/constants/finality.js.map +1 -1
- package/dist/esm/constants/nativeChainIds.d.ts +43 -4
- package/dist/esm/constants/nativeChainIds.d.ts.map +1 -1
- package/dist/esm/constants/nativeChainIds.js +2 -0
- package/dist/esm/constants/nativeChainIds.js.map +1 -1
- package/dist/esm/constants/platforms.d.ts +14 -9
- package/dist/esm/constants/platforms.d.ts.map +1 -1
- package/dist/esm/constants/platforms.js +8 -1
- package/dist/esm/constants/platforms.js.map +1 -1
- package/dist/esm/constants/rpc.d.ts +1 -1
- package/dist/esm/constants/rpc.d.ts.map +1 -1
- package/dist/esm/constants/rpc.js +5 -0
- package/dist/esm/constants/rpc.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ToMapping, Widen } from "./../utils/index.js";
|
|
2
2
|
import type { Network } from "./networks.js";
|
|
3
3
|
import type { Platform, PlatformToChains } from "./platforms.js";
|
|
4
|
-
declare const chainNetworkNativeChainIdEntries: readonly [readonly ["Mainnet", readonly [readonly ["Aptos", 1n], readonly ["Algorand", "mainnet-v1.0"], readonly ["Near", "mainnet"], readonly ["Cosmoshub", "cosmoshub-4"], readonly ["Evmos", "evmos_9001-2"], readonly ["Injective", "injective-1"], readonly ["Osmosis", "osmosis-1"], readonly ["Sei", "pacific-1"], readonly ["Wormchain", "wormchain"], readonly ["Kujira", "kaiyo-1"], readonly ["Solana", "5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d"], readonly ["Sui", "35834a8a"], readonly ["Arbitrum", 42161n], readonly ["Avalanche", 43114n], readonly ["Base", 8453n], readonly ["Bsc", 56n], readonly ["Celo", 42220n], readonly ["Ethereum", 1n], readonly ["Fantom", 250n], readonly ["Klaytn", 8217n], readonly ["Moonbeam", 1284n], readonly ["Optimism", 10n], readonly ["Polygon", 137n], readonly ["Neutron", "neutron-1"], readonly ["Stargaze", "stargaze-1"], readonly ["Celestia", "celestia"], readonly ["Dymension", "dymension_1100-1"], readonly ["Provenance", "pio-mainnet-1"], readonly ["Noble", "noble-1"], readonly ["Xlayer", 196n], readonly ["Mantle", 5000n], readonly ["Scroll", 534352n], readonly ["Linea", 59144n], readonly ["Berachain", 80094n], readonly ["Seievm", 1329n], readonly ["Unichain", 130n], readonly ["Worldchain", 480n], readonly ["Ink", 57073n], readonly ["Sonic", 146n], readonly ["HyperEVM", 999n], readonly ["Mezo", 31612n], readonly ["Plume", 98866n], readonly ["XRPLEVM", 1440000n]]], readonly ["Testnet", readonly [readonly ["Aptos", 2n], readonly ["Algorand", "testnet-v1.0"], readonly ["Near", "testnet"], readonly ["Cosmoshub", "theta-testnet-001"], readonly ["Evmos", "evmos_9000-4"], readonly ["Injective", "injective-888"], readonly ["Osmosis", "osmo-test-5"], readonly ["Sei", "atlantic-2"], readonly ["Wormchain", "wormchain-testnet-0"], readonly ["Kujira", "harpoon-4"], readonly ["Solana", "EtWTRABZaYq6iMfeYKouRu166VU2xqa1wcaWoxPkrZBG"], readonly ["Sui", "4c78adac"], readonly ["Arbitrum", 421613n], readonly ["Avalanche", 43113n], readonly ["Base", 84531n], readonly ["Bsc", 97n], readonly ["Celo", 44787n], readonly ["Ethereum", 5n], readonly ["Fantom", 4002n], readonly ["Klaytn", 1001n], readonly ["Moonbeam", 1287n], readonly ["Optimism", 420n], readonly ["Polygon", 80001n], readonly ["Sepolia", 11155111n], readonly ["ArbitrumSepolia", 421614n], readonly ["BaseSepolia", 84532n], readonly ["OptimismSepolia", 11155420n], readonly ["PolygonSepolia", 80002n], readonly ["Holesky", 17000n], readonly ["Neutron", "pion-1"], readonly ["Celestia", "mocha-4"], readonly ["Seda", "seda-1-testnet"], readonly ["Noble", "grand-1"], readonly ["Mantle", 5003n], readonly ["Scroll", 534351n], readonly ["Berachain", 80069n], readonly ["Seievm", 1328n], readonly ["Unichain", 1301n], readonly ["Worldchain", 4801n], readonly ["Ink", 763373n], readonly ["HyperEVM", 998n], readonly ["Xlayer", 195n], readonly ["Linea", 59141n], readonly ["Monad", 10143n], readonly ["Mezo", 31611n], readonly ["Sonic", 57054n], readonly ["Converge", 52085145n], readonly ["Fogo", "9GGSFo95raqzZxWqKM5tGYvJp5iv4Dm565S4r8h5PEu9"], readonly ["Plume", 98867n], readonly ["XRPLEVM", 1449000n]]], readonly ["Devnet", readonly [readonly ["Aptos", 0n], readonly ["Algorand", "sandnet-v1.0"], readonly ["Bsc", 1397n], readonly ["Ethereum", 1337n], readonly ["Injective", "injective_devnet_fake"], readonly ["Solana", "8wF6jKV3cKwyaVkWcoV9KpDqmkjvEYno9hKZrKx8TbZn"]]]];
|
|
4
|
+
declare const chainNetworkNativeChainIdEntries: readonly [readonly ["Mainnet", readonly [readonly ["Aptos", 1n], readonly ["Algorand", "mainnet-v1.0"], readonly ["Near", "mainnet"], readonly ["Cosmoshub", "cosmoshub-4"], readonly ["Evmos", "evmos_9001-2"], readonly ["Injective", "injective-1"], readonly ["Osmosis", "osmosis-1"], readonly ["Sei", "pacific-1"], readonly ["Wormchain", "wormchain"], readonly ["Kujira", "kaiyo-1"], readonly ["Solana", "5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d"], readonly ["Sui", "35834a8a"], readonly ["Arbitrum", 42161n], readonly ["Avalanche", 43114n], readonly ["Base", 8453n], readonly ["Bsc", 56n], readonly ["Celo", 42220n], readonly ["Ethereum", 1n], readonly ["Fantom", 250n], readonly ["Klaytn", 8217n], readonly ["Moonbeam", 1284n], readonly ["Optimism", 10n], readonly ["Polygon", 137n], readonly ["Neutron", "neutron-1"], readonly ["Stargaze", "stargaze-1"], readonly ["Celestia", "celestia"], readonly ["Dymension", "dymension_1100-1"], readonly ["Provenance", "pio-mainnet-1"], readonly ["Noble", "noble-1"], readonly ["Xlayer", 196n], readonly ["Mantle", 5000n], readonly ["Scroll", 534352n], readonly ["Linea", 59144n], readonly ["Berachain", 80094n], readonly ["Seievm", 1329n], readonly ["Unichain", 130n], readonly ["Worldchain", 480n], readonly ["Ink", 57073n], readonly ["Sonic", 146n], readonly ["HyperEVM", 999n], readonly ["HyperCore", 20000n], readonly ["Mezo", 31612n], readonly ["Plume", 98866n], readonly ["XRPLEVM", 1440000n]]], readonly ["Testnet", readonly [readonly ["Aptos", 2n], readonly ["Algorand", "testnet-v1.0"], readonly ["Near", "testnet"], readonly ["Cosmoshub", "theta-testnet-001"], readonly ["Evmos", "evmos_9000-4"], readonly ["Injective", "injective-888"], readonly ["Osmosis", "osmo-test-5"], readonly ["Sei", "atlantic-2"], readonly ["Wormchain", "wormchain-testnet-0"], readonly ["Kujira", "harpoon-4"], readonly ["Solana", "EtWTRABZaYq6iMfeYKouRu166VU2xqa1wcaWoxPkrZBG"], readonly ["Sui", "4c78adac"], readonly ["Arbitrum", 421613n], readonly ["Avalanche", 43113n], readonly ["Base", 84531n], readonly ["Bsc", 97n], readonly ["Celo", 44787n], readonly ["Ethereum", 5n], readonly ["Fantom", 4002n], readonly ["Klaytn", 1001n], readonly ["Moonbeam", 1287n], readonly ["Optimism", 420n], readonly ["Polygon", 80001n], readonly ["Sepolia", 11155111n], readonly ["ArbitrumSepolia", 421614n], readonly ["BaseSepolia", 84532n], readonly ["OptimismSepolia", 11155420n], readonly ["PolygonSepolia", 80002n], readonly ["Holesky", 17000n], readonly ["Neutron", "pion-1"], readonly ["Celestia", "mocha-4"], readonly ["Seda", "seda-1-testnet"], readonly ["Noble", "grand-1"], readonly ["Mantle", 5003n], readonly ["Scroll", 534351n], readonly ["Berachain", 80069n], readonly ["Seievm", 1328n], readonly ["Unichain", 1301n], readonly ["Worldchain", 4801n], readonly ["Ink", 763373n], readonly ["HyperEVM", 998n], readonly ["HyperCore", 20000n], readonly ["Xlayer", 195n], readonly ["Linea", 59141n], readonly ["Monad", 10143n], readonly ["Mezo", 31611n], readonly ["Sonic", 57054n], readonly ["Converge", 52085145n], readonly ["Fogo", "9GGSFo95raqzZxWqKM5tGYvJp5iv4Dm565S4r8h5PEu9"], readonly ["Plume", 98867n], readonly ["XRPLEVM", 1449000n]]], readonly ["Devnet", readonly [readonly ["Aptos", 0n], readonly ["Algorand", "sandnet-v1.0"], readonly ["Bsc", 1397n], readonly ["Ethereum", 1337n], readonly ["Injective", "injective_devnet_fake"], readonly ["Solana", "8wF6jKV3cKwyaVkWcoV9KpDqmkjvEYno9hKZrKx8TbZn"]]]];
|
|
5
5
|
export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" | "Testnet" | "Devnet", const K2 extends keyof {
|
|
6
6
|
readonly Mainnet: {
|
|
7
7
|
readonly Aptos: 1n;
|
|
@@ -44,6 +44,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
44
44
|
readonly Ink: 57073n;
|
|
45
45
|
readonly Sonic: 146n;
|
|
46
46
|
readonly HyperEVM: 999n;
|
|
47
|
+
readonly HyperCore: 20000n;
|
|
47
48
|
readonly Mezo: 31612n;
|
|
48
49
|
readonly Plume: 98866n;
|
|
49
50
|
readonly XRPLEVM: 1440000n;
|
|
@@ -90,6 +91,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
90
91
|
readonly Worldchain: 4801n;
|
|
91
92
|
readonly Ink: 763373n;
|
|
92
93
|
readonly HyperEVM: 998n;
|
|
94
|
+
readonly HyperCore: 20000n;
|
|
93
95
|
readonly Xlayer: 195n;
|
|
94
96
|
readonly Linea: 59141n;
|
|
95
97
|
readonly Monad: 10143n;
|
|
@@ -150,6 +152,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
150
152
|
readonly Ink: 57073n;
|
|
151
153
|
readonly Sonic: 146n;
|
|
152
154
|
readonly HyperEVM: 999n;
|
|
155
|
+
readonly HyperCore: 20000n;
|
|
153
156
|
readonly Mezo: 31612n;
|
|
154
157
|
readonly Plume: 98866n;
|
|
155
158
|
readonly XRPLEVM: 1440000n;
|
|
@@ -196,6 +199,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
196
199
|
readonly Worldchain: 4801n;
|
|
197
200
|
readonly Ink: 763373n;
|
|
198
201
|
readonly HyperEVM: 998n;
|
|
202
|
+
readonly HyperCore: 20000n;
|
|
199
203
|
readonly Xlayer: 195n;
|
|
200
204
|
readonly Linea: 59141n;
|
|
201
205
|
readonly Monad: 10143n;
|
|
@@ -256,6 +260,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
256
260
|
readonly Ink: 57073n;
|
|
257
261
|
readonly Sonic: 146n;
|
|
258
262
|
readonly HyperEVM: 999n;
|
|
263
|
+
readonly HyperCore: 20000n;
|
|
259
264
|
readonly Mezo: 31612n;
|
|
260
265
|
readonly Plume: 98866n;
|
|
261
266
|
readonly XRPLEVM: 1440000n;
|
|
@@ -302,6 +307,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
302
307
|
readonly Worldchain: 4801n;
|
|
303
308
|
readonly Ink: 763373n;
|
|
304
309
|
readonly HyperEVM: 998n;
|
|
310
|
+
readonly HyperCore: 20000n;
|
|
305
311
|
readonly Xlayer: 195n;
|
|
306
312
|
readonly Linea: 59141n;
|
|
307
313
|
readonly Monad: 10143n;
|
|
@@ -362,6 +368,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
362
368
|
readonly Ink: 57073n;
|
|
363
369
|
readonly Sonic: 146n;
|
|
364
370
|
readonly HyperEVM: 999n;
|
|
371
|
+
readonly HyperCore: 20000n;
|
|
365
372
|
readonly Mezo: 31612n;
|
|
366
373
|
readonly Plume: 98866n;
|
|
367
374
|
readonly XRPLEVM: 1440000n;
|
|
@@ -408,6 +415,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
408
415
|
readonly Worldchain: 4801n;
|
|
409
416
|
readonly Ink: 763373n;
|
|
410
417
|
readonly HyperEVM: 998n;
|
|
418
|
+
readonly HyperCore: 20000n;
|
|
411
419
|
readonly Xlayer: 195n;
|
|
412
420
|
readonly Linea: 59141n;
|
|
413
421
|
readonly Monad: 10143n;
|
|
@@ -432,7 +440,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
432
440
|
[key: symbol]: unknown;
|
|
433
441
|
} ? T_1[K2 extends bigint ? `bigint(${K2})` : K2 extends boolean ? `boolean(${K2})` : K2] : never : never : never) & {
|
|
434
442
|
readonly has: (args_0: string, args_1: string) => boolean;
|
|
435
|
-
readonly get: (args_0: string, args_1: string) => 0n | 2n | 10n | 1n | "mainnet-v1.0" | "mainnet" | "cosmoshub-4" | "evmos_9001-2" | "injective-1" | "osmosis-1" | "pacific-1" | "wormchain" | "kaiyo-1" | "5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d" | "35834a8a" | 42161n | 43114n | 8453n | 56n | 42220n | 250n | 8217n | 1284n | 137n | "neutron-1" | "stargaze-1" | "celestia" | "dymension_1100-1" | "pio-mainnet-1" | "noble-1" | 196n | 5000n | 534352n | 59144n | 80094n | 1329n | 130n | 480n | 57073n | 146n | 999n | 31612n | 98866n | 1440000n | "testnet-v1.0" | "testnet" | "theta-testnet-001" | "evmos_9000-4" | "injective-888" | "osmo-test-5" | "atlantic-2" | "wormchain-testnet-0" | "harpoon-4" | "EtWTRABZaYq6iMfeYKouRu166VU2xqa1wcaWoxPkrZBG" | "4c78adac" | 421613n | 43113n | 84531n | 97n | 44787n | 5n | 4002n | 1001n | 1287n | 420n | 80001n | 11155111n | 421614n | 84532n | 11155420n | 80002n | 17000n | "pion-1" | "mocha-4" | "seda-1-testnet" | "grand-1" | 5003n | 534351n | 80069n | 1328n | 1301n | 4801n | 763373n | 998n | 195n | 59141n | 10143n | 31611n | 57054n | 52085145n | "9GGSFo95raqzZxWqKM5tGYvJp5iv4Dm565S4r8h5PEu9" | 98867n | 1449000n | "sandnet-v1.0" | 1397n | 1337n | "injective_devnet_fake" | "8wF6jKV3cKwyaVkWcoV9KpDqmkjvEYno9hKZrKx8TbZn" | undefined;
|
|
443
|
+
readonly get: (args_0: string, args_1: string) => 0n | 2n | 10n | 1n | "mainnet-v1.0" | "mainnet" | "cosmoshub-4" | "evmos_9001-2" | "injective-1" | "osmosis-1" | "pacific-1" | "wormchain" | "kaiyo-1" | "5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d" | "35834a8a" | 42161n | 43114n | 8453n | 56n | 42220n | 250n | 8217n | 1284n | 137n | "neutron-1" | "stargaze-1" | "celestia" | "dymension_1100-1" | "pio-mainnet-1" | "noble-1" | 196n | 5000n | 534352n | 59144n | 80094n | 1329n | 130n | 480n | 57073n | 146n | 999n | 20000n | 31612n | 98866n | 1440000n | "testnet-v1.0" | "testnet" | "theta-testnet-001" | "evmos_9000-4" | "injective-888" | "osmo-test-5" | "atlantic-2" | "wormchain-testnet-0" | "harpoon-4" | "EtWTRABZaYq6iMfeYKouRu166VU2xqa1wcaWoxPkrZBG" | "4c78adac" | 421613n | 43113n | 84531n | 97n | 44787n | 5n | 4002n | 1001n | 1287n | 420n | 80001n | 11155111n | 421614n | 84532n | 11155420n | 80002n | 17000n | "pion-1" | "mocha-4" | "seda-1-testnet" | "grand-1" | 5003n | 534351n | 80069n | 1328n | 1301n | 4801n | 763373n | 998n | 195n | 59141n | 10143n | 31611n | 57054n | 52085145n | "9GGSFo95raqzZxWqKM5tGYvJp5iv4Dm565S4r8h5PEu9" | 98867n | 1449000n | "sandnet-v1.0" | 1397n | 1337n | "injective_devnet_fake" | "8wF6jKV3cKwyaVkWcoV9KpDqmkjvEYno9hKZrKx8TbZn" | undefined;
|
|
436
444
|
} & {
|
|
437
445
|
readonly subMap: <const K extends "Mainnet" | "Testnet" | "Devnet">(key: K) => (K extends bigint ? `bigint(${K})` : K extends boolean ? `boolean(${K})` : K) extends infer T_2 ? T_2 extends (K extends bigint ? `bigint(${K})` : K extends boolean ? `boolean(${K})` : K) ? T_2 extends "Mainnet" | "Testnet" | "Devnet" ? {
|
|
438
446
|
readonly Mainnet: {
|
|
@@ -476,6 +484,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
476
484
|
readonly Ink: 57073n;
|
|
477
485
|
readonly Sonic: 146n;
|
|
478
486
|
readonly HyperEVM: 999n;
|
|
487
|
+
readonly HyperCore: 20000n;
|
|
479
488
|
readonly Mezo: 31612n;
|
|
480
489
|
readonly Plume: 98866n;
|
|
481
490
|
readonly XRPLEVM: 1440000n;
|
|
@@ -522,6 +531,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
522
531
|
readonly Worldchain: 4801n;
|
|
523
532
|
readonly Ink: 763373n;
|
|
524
533
|
readonly HyperEVM: 998n;
|
|
534
|
+
readonly HyperCore: 20000n;
|
|
525
535
|
readonly Xlayer: 195n;
|
|
526
536
|
readonly Linea: 59141n;
|
|
527
537
|
readonly Monad: 10143n;
|
|
@@ -586,6 +596,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
586
596
|
readonly Ink: 57073n;
|
|
587
597
|
readonly Sonic: 146n;
|
|
588
598
|
readonly HyperEVM: 999n;
|
|
599
|
+
readonly HyperCore: 20000n;
|
|
589
600
|
readonly Mezo: 31612n;
|
|
590
601
|
readonly Plume: 98866n;
|
|
591
602
|
readonly XRPLEVM: 1440000n;
|
|
@@ -632,6 +643,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
632
643
|
readonly Worldchain: 4801n;
|
|
633
644
|
readonly Ink: 763373n;
|
|
634
645
|
readonly HyperEVM: 998n;
|
|
646
|
+
readonly HyperCore: 20000n;
|
|
635
647
|
readonly Xlayer: 195n;
|
|
636
648
|
readonly Linea: 59141n;
|
|
637
649
|
readonly Monad: 10143n;
|
|
@@ -692,6 +704,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
692
704
|
readonly Ink: 57073n;
|
|
693
705
|
readonly Sonic: 146n;
|
|
694
706
|
readonly HyperEVM: 999n;
|
|
707
|
+
readonly HyperCore: 20000n;
|
|
695
708
|
readonly Mezo: 31612n;
|
|
696
709
|
readonly Plume: 98866n;
|
|
697
710
|
readonly XRPLEVM: 1440000n;
|
|
@@ -738,6 +751,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
738
751
|
readonly Worldchain: 4801n;
|
|
739
752
|
readonly Ink: 763373n;
|
|
740
753
|
readonly HyperEVM: 998n;
|
|
754
|
+
readonly HyperCore: 20000n;
|
|
741
755
|
readonly Xlayer: 195n;
|
|
742
756
|
readonly Linea: 59141n;
|
|
743
757
|
readonly Monad: 10143n;
|
|
@@ -798,6 +812,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
798
812
|
readonly Ink: 57073n;
|
|
799
813
|
readonly Sonic: 146n;
|
|
800
814
|
readonly HyperEVM: 999n;
|
|
815
|
+
readonly HyperCore: 20000n;
|
|
801
816
|
readonly Mezo: 31612n;
|
|
802
817
|
readonly Plume: 98866n;
|
|
803
818
|
readonly XRPLEVM: 1440000n;
|
|
@@ -844,6 +859,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
844
859
|
readonly Worldchain: 4801n;
|
|
845
860
|
readonly Ink: 763373n;
|
|
846
861
|
readonly HyperEVM: 998n;
|
|
862
|
+
readonly HyperCore: 20000n;
|
|
847
863
|
readonly Xlayer: 195n;
|
|
848
864
|
readonly Linea: 59141n;
|
|
849
865
|
readonly Monad: 10143n;
|
|
@@ -904,6 +920,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
904
920
|
readonly Ink: 57073n;
|
|
905
921
|
readonly Sonic: 146n;
|
|
906
922
|
readonly HyperEVM: 999n;
|
|
923
|
+
readonly HyperCore: 20000n;
|
|
907
924
|
readonly Mezo: 31612n;
|
|
908
925
|
readonly Plume: 98866n;
|
|
909
926
|
readonly XRPLEVM: 1440000n;
|
|
@@ -950,6 +967,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
950
967
|
readonly Worldchain: 4801n;
|
|
951
968
|
readonly Ink: 763373n;
|
|
952
969
|
readonly HyperEVM: 998n;
|
|
970
|
+
readonly HyperCore: 20000n;
|
|
953
971
|
readonly Xlayer: 195n;
|
|
954
972
|
readonly Linea: 59141n;
|
|
955
973
|
readonly Monad: 10143n;
|
|
@@ -1015,6 +1033,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
1015
1033
|
readonly Ink: 57073n;
|
|
1016
1034
|
readonly Sonic: 146n;
|
|
1017
1035
|
readonly HyperEVM: 999n;
|
|
1036
|
+
readonly HyperCore: 20000n;
|
|
1018
1037
|
readonly Mezo: 31612n;
|
|
1019
1038
|
readonly Plume: 98866n;
|
|
1020
1039
|
readonly XRPLEVM: 1440000n;
|
|
@@ -1061,6 +1080,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
1061
1080
|
readonly Worldchain: 4801n;
|
|
1062
1081
|
readonly Ink: 763373n;
|
|
1063
1082
|
readonly HyperEVM: 998n;
|
|
1083
|
+
readonly HyperCore: 20000n;
|
|
1064
1084
|
readonly Xlayer: 195n;
|
|
1065
1085
|
readonly Linea: 59141n;
|
|
1066
1086
|
readonly Monad: 10143n;
|
|
@@ -1121,6 +1141,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
1121
1141
|
readonly Ink: 57073n;
|
|
1122
1142
|
readonly Sonic: 146n;
|
|
1123
1143
|
readonly HyperEVM: 999n;
|
|
1144
|
+
readonly HyperCore: 20000n;
|
|
1124
1145
|
readonly Mezo: 31612n;
|
|
1125
1146
|
readonly Plume: 98866n;
|
|
1126
1147
|
readonly XRPLEVM: 1440000n;
|
|
@@ -1167,6 +1188,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
1167
1188
|
readonly Worldchain: 4801n;
|
|
1168
1189
|
readonly Ink: 763373n;
|
|
1169
1190
|
readonly HyperEVM: 998n;
|
|
1191
|
+
readonly HyperCore: 20000n;
|
|
1170
1192
|
readonly Xlayer: 195n;
|
|
1171
1193
|
readonly Linea: 59141n;
|
|
1172
1194
|
readonly Monad: 10143n;
|
|
@@ -1227,6 +1249,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
1227
1249
|
readonly Ink: 57073n;
|
|
1228
1250
|
readonly Sonic: 146n;
|
|
1229
1251
|
readonly HyperEVM: 999n;
|
|
1252
|
+
readonly HyperCore: 20000n;
|
|
1230
1253
|
readonly Mezo: 31612n;
|
|
1231
1254
|
readonly Plume: 98866n;
|
|
1232
1255
|
readonly XRPLEVM: 1440000n;
|
|
@@ -1273,6 +1296,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
1273
1296
|
readonly Worldchain: 4801n;
|
|
1274
1297
|
readonly Ink: 763373n;
|
|
1275
1298
|
readonly HyperEVM: 998n;
|
|
1299
|
+
readonly HyperCore: 20000n;
|
|
1276
1300
|
readonly Xlayer: 195n;
|
|
1277
1301
|
readonly Linea: 59141n;
|
|
1278
1302
|
readonly Monad: 10143n;
|
|
@@ -1333,6 +1357,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
1333
1357
|
readonly Ink: 57073n;
|
|
1334
1358
|
readonly Sonic: 146n;
|
|
1335
1359
|
readonly HyperEVM: 999n;
|
|
1360
|
+
readonly HyperCore: 20000n;
|
|
1336
1361
|
readonly Mezo: 31612n;
|
|
1337
1362
|
readonly Plume: 98866n;
|
|
1338
1363
|
readonly XRPLEVM: 1440000n;
|
|
@@ -1379,6 +1404,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
1379
1404
|
readonly Worldchain: 4801n;
|
|
1380
1405
|
readonly Ink: 763373n;
|
|
1381
1406
|
readonly HyperEVM: 998n;
|
|
1407
|
+
readonly HyperCore: 20000n;
|
|
1382
1408
|
readonly Xlayer: 195n;
|
|
1383
1409
|
readonly Linea: 59141n;
|
|
1384
1410
|
readonly Monad: 10143n;
|
|
@@ -1440,6 +1466,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
1440
1466
|
readonly Ink: 57073n;
|
|
1441
1467
|
readonly Sonic: 146n;
|
|
1442
1468
|
readonly HyperEVM: 999n;
|
|
1469
|
+
readonly HyperCore: 20000n;
|
|
1443
1470
|
readonly Mezo: 31612n;
|
|
1444
1471
|
readonly Plume: 98866n;
|
|
1445
1472
|
readonly XRPLEVM: 1440000n;
|
|
@@ -1486,6 +1513,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
1486
1513
|
readonly Worldchain: 4801n;
|
|
1487
1514
|
readonly Ink: 763373n;
|
|
1488
1515
|
readonly HyperEVM: 998n;
|
|
1516
|
+
readonly HyperCore: 20000n;
|
|
1489
1517
|
readonly Xlayer: 195n;
|
|
1490
1518
|
readonly Linea: 59141n;
|
|
1491
1519
|
readonly Monad: 10143n;
|
|
@@ -1546,6 +1574,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
1546
1574
|
readonly Ink: 57073n;
|
|
1547
1575
|
readonly Sonic: 146n;
|
|
1548
1576
|
readonly HyperEVM: 999n;
|
|
1577
|
+
readonly HyperCore: 20000n;
|
|
1549
1578
|
readonly Mezo: 31612n;
|
|
1550
1579
|
readonly Plume: 98866n;
|
|
1551
1580
|
readonly XRPLEVM: 1440000n;
|
|
@@ -1592,6 +1621,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
1592
1621
|
readonly Worldchain: 4801n;
|
|
1593
1622
|
readonly Ink: 763373n;
|
|
1594
1623
|
readonly HyperEVM: 998n;
|
|
1624
|
+
readonly HyperCore: 20000n;
|
|
1595
1625
|
readonly Xlayer: 195n;
|
|
1596
1626
|
readonly Linea: 59141n;
|
|
1597
1627
|
readonly Monad: 10143n;
|
|
@@ -1652,6 +1682,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
1652
1682
|
readonly Ink: 57073n;
|
|
1653
1683
|
readonly Sonic: 146n;
|
|
1654
1684
|
readonly HyperEVM: 999n;
|
|
1685
|
+
readonly HyperCore: 20000n;
|
|
1655
1686
|
readonly Mezo: 31612n;
|
|
1656
1687
|
readonly Plume: 98866n;
|
|
1657
1688
|
readonly XRPLEVM: 1440000n;
|
|
@@ -1698,6 +1729,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
1698
1729
|
readonly Worldchain: 4801n;
|
|
1699
1730
|
readonly Ink: 763373n;
|
|
1700
1731
|
readonly HyperEVM: 998n;
|
|
1732
|
+
readonly HyperCore: 20000n;
|
|
1701
1733
|
readonly Xlayer: 195n;
|
|
1702
1734
|
readonly Linea: 59141n;
|
|
1703
1735
|
readonly Monad: 10143n;
|
|
@@ -1758,6 +1790,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
1758
1790
|
readonly Ink: 57073n;
|
|
1759
1791
|
readonly Sonic: 146n;
|
|
1760
1792
|
readonly HyperEVM: 999n;
|
|
1793
|
+
readonly HyperCore: 20000n;
|
|
1761
1794
|
readonly Mezo: 31612n;
|
|
1762
1795
|
readonly Plume: 98866n;
|
|
1763
1796
|
readonly XRPLEVM: 1440000n;
|
|
@@ -1804,6 +1837,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
1804
1837
|
readonly Worldchain: 4801n;
|
|
1805
1838
|
readonly Ink: 763373n;
|
|
1806
1839
|
readonly HyperEVM: 998n;
|
|
1840
|
+
readonly HyperCore: 20000n;
|
|
1807
1841
|
readonly Xlayer: 195n;
|
|
1808
1842
|
readonly Linea: 59141n;
|
|
1809
1843
|
readonly Monad: 10143n;
|
|
@@ -1864,6 +1898,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
1864
1898
|
readonly Ink: 57073n;
|
|
1865
1899
|
readonly Sonic: 146n;
|
|
1866
1900
|
readonly HyperEVM: 999n;
|
|
1901
|
+
readonly HyperCore: 20000n;
|
|
1867
1902
|
readonly Mezo: 31612n;
|
|
1868
1903
|
readonly Plume: 98866n;
|
|
1869
1904
|
readonly XRPLEVM: 1440000n;
|
|
@@ -1910,6 +1945,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
1910
1945
|
readonly Worldchain: 4801n;
|
|
1911
1946
|
readonly Ink: 763373n;
|
|
1912
1947
|
readonly HyperEVM: 998n;
|
|
1948
|
+
readonly HyperCore: 20000n;
|
|
1913
1949
|
readonly Xlayer: 195n;
|
|
1914
1950
|
readonly Linea: 59141n;
|
|
1915
1951
|
readonly Monad: 10143n;
|
|
@@ -1970,6 +2006,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
1970
2006
|
readonly Ink: 57073n;
|
|
1971
2007
|
readonly Sonic: 146n;
|
|
1972
2008
|
readonly HyperEVM: 999n;
|
|
2009
|
+
readonly HyperCore: 20000n;
|
|
1973
2010
|
readonly Mezo: 31612n;
|
|
1974
2011
|
readonly Plume: 98866n;
|
|
1975
2012
|
readonly XRPLEVM: 1440000n;
|
|
@@ -2016,6 +2053,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
2016
2053
|
readonly Worldchain: 4801n;
|
|
2017
2054
|
readonly Ink: 763373n;
|
|
2018
2055
|
readonly HyperEVM: 998n;
|
|
2056
|
+
readonly HyperCore: 20000n;
|
|
2019
2057
|
readonly Xlayer: 195n;
|
|
2020
2058
|
readonly Linea: 59141n;
|
|
2021
2059
|
readonly Monad: 10143n;
|
|
@@ -2039,7 +2077,7 @@ export declare const networkChainToNativeChainId: (<const K1 extends "Mainnet" |
|
|
|
2039
2077
|
};
|
|
2040
2078
|
type NetworkChainToNativeChainId = ToMapping<typeof chainNetworkNativeChainIdEntries>;
|
|
2041
2079
|
export type PlatformToNativeChainIds<P extends Platform, N extends Network = Network> = PlatformToChains<P> extends infer C ? C extends keyof NetworkChainToNativeChainId[N] ? NetworkChainToNativeChainId[N][C] : C extends keyof NetworkChainToNativeChainId["Mainnet"] ? Widen<NetworkChainToNativeChainId["Mainnet"][C]> : never : never;
|
|
2042
|
-
declare const nativeChainIdToNetworkChain: (<const K1 extends 0n | 2n | 10n | 1n | "mainnet-v1.0" | "mainnet" | "cosmoshub-4" | "evmos_9001-2" | "injective-1" | "osmosis-1" | "pacific-1" | "wormchain" | "kaiyo-1" | "5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d" | "35834a8a" | 42161n | 43114n | 8453n | 56n | 42220n | 250n | 8217n | 1284n | 137n | "neutron-1" | "stargaze-1" | "celestia" | "dymension_1100-1" | "pio-mainnet-1" | "noble-1" | 196n | 5000n | 534352n | 59144n | 80094n | 1329n | 130n | 480n | 57073n | 146n | 999n | 31612n | 98866n | 1440000n | "testnet-v1.0" | "testnet" | "theta-testnet-001" | "evmos_9000-4" | "injective-888" | "osmo-test-5" | "atlantic-2" | "wormchain-testnet-0" | "harpoon-4" | "EtWTRABZaYq6iMfeYKouRu166VU2xqa1wcaWoxPkrZBG" | "4c78adac" | 421613n | 43113n | 84531n | 97n | 44787n | 5n | 4002n | 1001n | 1287n | 420n | 80001n | 11155111n | 421614n | 84532n | 11155420n | 80002n | 17000n | "pion-1" | "mocha-4" | "seda-1-testnet" | "grand-1" | 5003n | 534351n | 80069n | 1328n | 1301n | 4801n | 763373n | 998n | 195n | 59141n | 10143n | 31611n | 57054n | 52085145n | "9GGSFo95raqzZxWqKM5tGYvJp5iv4Dm565S4r8h5PEu9" | 98867n | 1449000n | "sandnet-v1.0" | 1397n | 1337n | "injective_devnet_fake" | "8wF6jKV3cKwyaVkWcoV9KpDqmkjvEYno9hKZrKx8TbZn">(args_0: K1) => {
|
|
2080
|
+
declare const nativeChainIdToNetworkChain: (<const K1 extends 0n | 2n | 10n | 1n | "mainnet-v1.0" | "mainnet" | "cosmoshub-4" | "evmos_9001-2" | "injective-1" | "osmosis-1" | "pacific-1" | "wormchain" | "kaiyo-1" | "5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d" | "35834a8a" | 42161n | 43114n | 8453n | 56n | 42220n | 250n | 8217n | 1284n | 137n | "neutron-1" | "stargaze-1" | "celestia" | "dymension_1100-1" | "pio-mainnet-1" | "noble-1" | 196n | 5000n | 534352n | 59144n | 80094n | 1329n | 130n | 480n | 57073n | 146n | 999n | 20000n | 31612n | 98866n | 1440000n | "testnet-v1.0" | "testnet" | "theta-testnet-001" | "evmos_9000-4" | "injective-888" | "osmo-test-5" | "atlantic-2" | "wormchain-testnet-0" | "harpoon-4" | "EtWTRABZaYq6iMfeYKouRu166VU2xqa1wcaWoxPkrZBG" | "4c78adac" | 421613n | 43113n | 84531n | 97n | 44787n | 5n | 4002n | 1001n | 1287n | 420n | 80001n | 11155111n | 421614n | 84532n | 11155420n | 80002n | 17000n | "pion-1" | "mocha-4" | "seda-1-testnet" | "grand-1" | 5003n | 534351n | 80069n | 1328n | 1301n | 4801n | 763373n | 998n | 195n | 59141n | 10143n | 31611n | 57054n | 52085145n | "9GGSFo95raqzZxWqKM5tGYvJp5iv4Dm565S4r8h5PEu9" | 98867n | 1449000n | "sandnet-v1.0" | 1397n | 1337n | "injective_devnet_fake" | "8wF6jKV3cKwyaVkWcoV9KpDqmkjvEYno9hKZrKx8TbZn">(args_0: K1) => {
|
|
2043
2081
|
"bigint(1)": [["Mainnet", "Aptos"], ["Mainnet", "Ethereum"]];
|
|
2044
2082
|
"mainnet-v1.0": [["Mainnet", "Algorand"]];
|
|
2045
2083
|
mainnet: [["Mainnet", "Near"]];
|
|
@@ -2079,6 +2117,7 @@ declare const nativeChainIdToNetworkChain: (<const K1 extends 0n | 2n | 10n | 1n
|
|
|
2079
2117
|
"bigint(57073)": [["Mainnet", "Ink"]];
|
|
2080
2118
|
"bigint(146)": [["Mainnet", "Sonic"]];
|
|
2081
2119
|
"bigint(999)": [["Mainnet", "HyperEVM"]];
|
|
2120
|
+
"bigint(20000)": [["Mainnet", "HyperCore"], ["Testnet", "HyperCore"]];
|
|
2082
2121
|
"bigint(31612)": [["Mainnet", "Mezo"]];
|
|
2083
2122
|
"bigint(98866)": [["Mainnet", "Plume"]];
|
|
2084
2123
|
"bigint(1440000)": [["Mainnet", "XRPLEVM"]];
|
|
@@ -2140,7 +2179,7 @@ declare const nativeChainIdToNetworkChain: (<const K1 extends 0n | 2n | 10n | 1n
|
|
|
2140
2179
|
"8wF6jKV3cKwyaVkWcoV9KpDqmkjvEYno9hKZrKx8TbZn": [["Devnet", "Solana"]];
|
|
2141
2180
|
}[K1 extends bigint ? `bigint(${K1})` : K1 extends boolean ? `boolean(${K1})` : K1]) & {
|
|
2142
2181
|
readonly has: (args_0: string | bigint) => boolean;
|
|
2143
|
-
readonly get: (args_0: string | bigint) => [["Mainnet", "Aptos"], ["Mainnet", "Ethereum"]] | [["Mainnet", "Algorand"]] | [["Mainnet", "Near"]] | [["Mainnet", "Cosmoshub"]] | [["Mainnet", "Evmos"]] | [["Mainnet", "Injective"]] | [["Mainnet", "Osmosis"]] | [["Mainnet", "Sei"]] | [["Mainnet", "Wormchain"]] | [["Mainnet", "Kujira"]] | [["Mainnet", "Solana"]] | [["Mainnet", "Sui"]] | [["Mainnet", "Arbitrum"]] | [["Mainnet", "Avalanche"]] | [["Mainnet", "Base"]] | [["Mainnet", "Bsc"]] | [["Mainnet", "Celo"]] | [["Mainnet", "Fantom"]] | [["Mainnet", "Klaytn"]] | [["Mainnet", "Moonbeam"]] | [["Mainnet", "Optimism"]] | [["Mainnet", "Polygon"]] | [["Mainnet", "Neutron"]] | [["Mainnet", "Stargaze"]] | [["Mainnet", "Celestia"]] | [["Mainnet", "Dymension"]] | [["Mainnet", "Provenance"]] | [["Mainnet", "Noble"]] | [["Mainnet", "Xlayer"]] | [["Mainnet", "Mantle"]] | [["Mainnet", "Scroll"]] | [["Mainnet", "Linea"]] | [["Mainnet", "Berachain"]] | [["Mainnet", "Seievm"]] | [["Mainnet", "Unichain"]] | [["Mainnet", "Worldchain"]] | [["Mainnet", "Ink"]] | [["Mainnet", "Sonic"]] | [["Mainnet", "HyperEVM"]] | [["Mainnet", "Mezo"]] | [["Mainnet", "Plume"]] | [["Mainnet", "XRPLEVM"]] | [["Testnet", "Aptos"]] | [["Testnet", "Algorand"]] | [["Testnet", "Near"]] | [["Testnet", "Cosmoshub"]] | [["Testnet", "Evmos"]] | [["Testnet", "Injective"]] | [["Testnet", "Osmosis"]] | [["Testnet", "Sei"]] | [["Testnet", "Wormchain"]] | [["Testnet", "Kujira"]] | [["Testnet", "Solana"]] | [["Testnet", "Sui"]] | [["Testnet", "Arbitrum"]] | [["Testnet", "Avalanche"]] | [["Testnet", "Base"]] | [["Testnet", "Bsc"]] | [["Testnet", "Celo"]] | [["Testnet", "Ethereum"]] | [["Testnet", "Fantom"]] | [["Testnet", "Klaytn"]] | [["Testnet", "Moonbeam"]] | [["Testnet", "Optimism"]] | [["Testnet", "Polygon"]] | [["Testnet", "Sepolia"]] | [["Testnet", "ArbitrumSepolia"]] | [["Testnet", "BaseSepolia"]] | [["Testnet", "OptimismSepolia"]] | [["Testnet", "PolygonSepolia"]] | [["Testnet", "Holesky"]] | [["Testnet", "Neutron"]] | [["Testnet", "Celestia"]] | [["Testnet", "Seda"]] | [["Testnet", "Noble"]] | [["Testnet", "Mantle"]] | [["Testnet", "Scroll"]] | [["Testnet", "Berachain"]] | [["Testnet", "Seievm"]] | [["Testnet", "Unichain"]] | [["Testnet", "Worldchain"]] | [["Testnet", "Ink"]] | [["Testnet", "HyperEVM"]] | [["Testnet", "Xlayer"]] | [["Testnet", "Linea"]] | [["Testnet", "Monad"]] | [["Testnet", "Mezo"]] | [["Testnet", "Sonic"]] | [["Testnet", "Converge"]] | [["Testnet", "Fogo"]] | [["Testnet", "Plume"]] | [["Testnet", "XRPLEVM"]] | [["Devnet", "Aptos"]] | [["Devnet", "Algorand"]] | [["Devnet", "Bsc"]] | [["Devnet", "Ethereum"]] | [["Devnet", "Injective"]] | [["Devnet", "Solana"]] | undefined;
|
|
2182
|
+
readonly get: (args_0: string | bigint) => [["Mainnet", "Aptos"], ["Mainnet", "Ethereum"]] | [["Mainnet", "Algorand"]] | [["Mainnet", "Near"]] | [["Mainnet", "Cosmoshub"]] | [["Mainnet", "Evmos"]] | [["Mainnet", "Injective"]] | [["Mainnet", "Osmosis"]] | [["Mainnet", "Sei"]] | [["Mainnet", "Wormchain"]] | [["Mainnet", "Kujira"]] | [["Mainnet", "Solana"]] | [["Mainnet", "Sui"]] | [["Mainnet", "Arbitrum"]] | [["Mainnet", "Avalanche"]] | [["Mainnet", "Base"]] | [["Mainnet", "Bsc"]] | [["Mainnet", "Celo"]] | [["Mainnet", "Fantom"]] | [["Mainnet", "Klaytn"]] | [["Mainnet", "Moonbeam"]] | [["Mainnet", "Optimism"]] | [["Mainnet", "Polygon"]] | [["Mainnet", "Neutron"]] | [["Mainnet", "Stargaze"]] | [["Mainnet", "Celestia"]] | [["Mainnet", "Dymension"]] | [["Mainnet", "Provenance"]] | [["Mainnet", "Noble"]] | [["Mainnet", "Xlayer"]] | [["Mainnet", "Mantle"]] | [["Mainnet", "Scroll"]] | [["Mainnet", "Linea"]] | [["Mainnet", "Berachain"]] | [["Mainnet", "Seievm"]] | [["Mainnet", "Unichain"]] | [["Mainnet", "Worldchain"]] | [["Mainnet", "Ink"]] | [["Mainnet", "Sonic"]] | [["Mainnet", "HyperEVM"]] | [["Mainnet", "HyperCore"], ["Testnet", "HyperCore"]] | [["Mainnet", "Mezo"]] | [["Mainnet", "Plume"]] | [["Mainnet", "XRPLEVM"]] | [["Testnet", "Aptos"]] | [["Testnet", "Algorand"]] | [["Testnet", "Near"]] | [["Testnet", "Cosmoshub"]] | [["Testnet", "Evmos"]] | [["Testnet", "Injective"]] | [["Testnet", "Osmosis"]] | [["Testnet", "Sei"]] | [["Testnet", "Wormchain"]] | [["Testnet", "Kujira"]] | [["Testnet", "Solana"]] | [["Testnet", "Sui"]] | [["Testnet", "Arbitrum"]] | [["Testnet", "Avalanche"]] | [["Testnet", "Base"]] | [["Testnet", "Bsc"]] | [["Testnet", "Celo"]] | [["Testnet", "Ethereum"]] | [["Testnet", "Fantom"]] | [["Testnet", "Klaytn"]] | [["Testnet", "Moonbeam"]] | [["Testnet", "Optimism"]] | [["Testnet", "Polygon"]] | [["Testnet", "Sepolia"]] | [["Testnet", "ArbitrumSepolia"]] | [["Testnet", "BaseSepolia"]] | [["Testnet", "OptimismSepolia"]] | [["Testnet", "PolygonSepolia"]] | [["Testnet", "Holesky"]] | [["Testnet", "Neutron"]] | [["Testnet", "Celestia"]] | [["Testnet", "Seda"]] | [["Testnet", "Noble"]] | [["Testnet", "Mantle"]] | [["Testnet", "Scroll"]] | [["Testnet", "Berachain"]] | [["Testnet", "Seievm"]] | [["Testnet", "Unichain"]] | [["Testnet", "Worldchain"]] | [["Testnet", "Ink"]] | [["Testnet", "HyperEVM"]] | [["Testnet", "Xlayer"]] | [["Testnet", "Linea"]] | [["Testnet", "Monad"]] | [["Testnet", "Mezo"]] | [["Testnet", "Sonic"]] | [["Testnet", "Converge"]] | [["Testnet", "Fogo"]] | [["Testnet", "Plume"]] | [["Testnet", "XRPLEVM"]] | [["Devnet", "Aptos"]] | [["Devnet", "Algorand"]] | [["Devnet", "Bsc"]] | [["Devnet", "Ethereum"]] | [["Devnet", "Injective"]] | [["Devnet", "Solana"]] | undefined;
|
|
2144
2183
|
};
|
|
2145
2184
|
export type PlatformNativeChainIdToNetworkChainPair<P extends Platform> = PlatformToChains<P> extends infer C ? ReturnType<typeof nativeChainIdToNetworkChain>[number] extends infer NCP ? NCP extends readonly [Network, C] ? NCP : never : never : never;
|
|
2146
2185
|
export declare function platformNativeChainIdToNetworkChain<P extends Platform, CI extends PlatformToNativeChainIds<P>>(platform: P, chainId: Widen<CI>): PlatformNativeChainIdToNetworkChainPair<P>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nativeChainIds.d.ts","sourceRoot":"","sources":["../../../src/constants/nativeChainIds.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAa,SAAS,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAGvE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAIjE,QAAA,MAAM,gCAAgC,
|
|
1
|
+
{"version":3,"file":"nativeChainIds.d.ts","sourceRoot":"","sources":["../../../src/constants/nativeChainIds.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAa,SAAS,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAGvE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAIjE,QAAA,MAAM,gCAAgC,k3GAqH2B,CAAC;AAElE,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AS,MAAM,2BAA2B,CAAC,SAAS,CAAC,GACpD,KAAK,CAAC,2BAA2B,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,GAChD,KAAK,GACT,KAAK,CAAC;AAMZ,QAAA,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA0D,CAAC;AAC5F,MAAM,MAAM,uCAAuC,CAAC,CAAC,SAAS,QAAQ,IACpE,gBAAgB,CAAC,CAAC,CAAC,SAAS,MAAM,CAAC,GAC/B,UAAU,CAAC,OAAO,2BAA2B,CAAC,CAAC,MAAM,CAAC,SAAS,MAAM,GAAG,GACtE,GAAG,SAAS,SAAS,CAAC,OAAO,EAAE,CAAC,CAAC,GAC/B,GAAG,GACH,KAAK,GACP,KAAK,GACP,KAAK,CAAC;AAEZ,wBAAgB,mCAAmC,CACjD,CAAC,SAAS,QAAQ,EAClB,EAAE,SAAS,wBAAwB,CAAC,CAAC,CAAC,EACtC,QAAQ,EAAE,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,GAAG,uCAAuC,CAAC,CAAC,CAAC,CAS7E"}
|
|
@@ -45,6 +45,7 @@ const chainNetworkNativeChainIdEntries = [
|
|
|
45
45
|
["Ink", 57073n],
|
|
46
46
|
["Sonic", 146n],
|
|
47
47
|
["HyperEVM", 999n],
|
|
48
|
+
["HyperCore", 20000n],
|
|
48
49
|
["Mezo", 31612n],
|
|
49
50
|
["Plume", 98866n],
|
|
50
51
|
["XRPLEVM", 1440000n],
|
|
@@ -94,6 +95,7 @@ const chainNetworkNativeChainIdEntries = [
|
|
|
94
95
|
["Worldchain", 4801n],
|
|
95
96
|
["Ink", 763373n],
|
|
96
97
|
["HyperEVM", 998n],
|
|
98
|
+
["HyperCore", 20000n],
|
|
97
99
|
["Xlayer", 195n],
|
|
98
100
|
["Linea", 59141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5F,2BAA2B;AAC3B,+EAA+E;AAC/E,MAAM,2BAA2B,GAAG,QAAQ,CAAC,gCAAgC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;AAU5F,MAAM,UAAU,mCAAmC,CAGjD,QAAW,EAAE,OAAkB;IAC/B,oFAAoF;IACpF,YAAY;IACZ,MAAM,UAAU,GAAG,2BAA2B,CAAC,OAAO,CAA2C,CAAC;IAClG,MAAM,eAAe,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,eAAe,CAAC,KAAK,CAAC,KAAK,QAAQ,CAAC,CAAC;IAC/F,IAAI,eAAe,CAAC,MAAM,KAAK,CAAC;QAC9B,MAAM,IAAI,KAAK,CAAC,YAAY,QAAQ,6CAA6C,OAAO,EAAE,CAAC,CAAC;IAE9F,OAAO,eAAe,CAAC,CAAC,CAAQ,CAAC;AACnC,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { Chain } from "./chains.js";
|
|
2
|
-
export declare const platforms: ["Evm", "Solana", "Cosmwasm", "Btc", "Algorand", "Sui", "Aptos", "Near"];
|
|
2
|
+
export declare const platforms: ["Evm", "Solana", "Cosmwasm", "Btc", "Algorand", "Sui", "Aptos", "Near", "HyperLiquid"];
|
|
3
3
|
export type Platform = (typeof platforms)[number];
|
|
4
|
-
export declare const platformToChains: (<const K1 extends "Solana" | "Algorand" | "Near" | "Sui" | "Aptos" | "Btc" | "Evm" | "Cosmwasm">(args_0: K1) => {
|
|
5
|
-
readonly Evm: readonly ["Arbitrum", "Avalanche", "Base", "Bsc", "Celo", "Ethereum", "Fantom", "Klaytn", "Moonbeam", "Optimism", "Polygon", "Sepolia", "ArbitrumSepolia", "BaseSepolia", "OptimismSepolia", "Holesky", "PolygonSepolia", "Mantle", "Scroll", "Xlayer", "Linea", "Berachain", "Seievm", "Unichain", "Worldchain", "Ink", "HyperEVM", "Monad", "Mezo", "Sonic", "Converge", "Plume", "XRPLEVM"];
|
|
4
|
+
export declare const platformToChains: (<const K1 extends "Solana" | "Algorand" | "Near" | "Sui" | "Aptos" | "Btc" | "Evm" | "Cosmwasm" | "HyperLiquid">(args_0: K1) => {
|
|
5
|
+
readonly Evm: readonly ["Arbitrum", "Avalanche", "Base", "Bsc", "Celo", "Ethereum", "Fantom", "Klaytn", "Moonbeam", "Optimism", "Polygon", "Sepolia", "ArbitrumSepolia", "BaseSepolia", "OptimismSepolia", "Holesky", "PolygonSepolia", "Mantle", "Scroll", "Xlayer", "Linea", "Berachain", "Seievm", "Unichain", "Worldchain", "Ink", "HyperEVM", "Monad", "Mezo", "Sonic", "Converge", "Plume", "XRPLEVM", "Plasma", "CreditCoin"];
|
|
6
6
|
readonly Solana: readonly ["Solana", "Pythnet", "Fogo"];
|
|
7
7
|
readonly Cosmwasm: readonly ["Cosmoshub", "Evmos", "Injective", "Kujira", "Osmosis", "Sei", "Wormchain", "Dymension", "Neutron", "Stargaze", "Celestia", "Seda", "Provenance", "Noble"];
|
|
8
8
|
readonly Btc: readonly ["Btc"];
|
|
@@ -10,11 +10,12 @@ export declare const platformToChains: (<const K1 extends "Solana" | "Algorand"
|
|
|
10
10
|
readonly Sui: readonly ["Sui"];
|
|
11
11
|
readonly Aptos: readonly ["Aptos"];
|
|
12
12
|
readonly Near: readonly ["Near"];
|
|
13
|
+
readonly HyperLiquid: readonly ["HyperCore"];
|
|
13
14
|
}[K1 extends bigint ? `bigint(${K1})` : K1 extends boolean ? `boolean(${K1})` : K1]) & {
|
|
14
15
|
readonly has: (args_0: string) => boolean;
|
|
15
|
-
readonly get: (args_0: string) => readonly ["Arbitrum", "Avalanche", "Base", "Bsc", "Celo", "Ethereum", "Fantom", "Klaytn", "Moonbeam", "Optimism", "Polygon", "Sepolia", "ArbitrumSepolia", "BaseSepolia", "OptimismSepolia", "Holesky", "PolygonSepolia", "Mantle", "Scroll", "Xlayer", "Linea", "Berachain", "Seievm", "Unichain", "Worldchain", "Ink", "HyperEVM", "Monad", "Mezo", "Sonic", "Converge", "Plume", "XRPLEVM"] | readonly ["Solana", "Pythnet", "Fogo"] | readonly ["Cosmoshub", "Evmos", "Injective", "Kujira", "Osmosis", "Sei", "Wormchain", "Dymension", "Neutron", "Stargaze", "Celestia", "Seda", "Provenance", "Noble"] | readonly ["Btc"] | readonly ["Algorand"] | readonly ["Sui"] | readonly ["Aptos"] | readonly ["Near"] | undefined;
|
|
16
|
+
readonly get: (args_0: string) => readonly ["Arbitrum", "Avalanche", "Base", "Bsc", "Celo", "Ethereum", "Fantom", "Klaytn", "Moonbeam", "Optimism", "Polygon", "Sepolia", "ArbitrumSepolia", "BaseSepolia", "OptimismSepolia", "Holesky", "PolygonSepolia", "Mantle", "Scroll", "Xlayer", "Linea", "Berachain", "Seievm", "Unichain", "Worldchain", "Ink", "HyperEVM", "Monad", "Mezo", "Sonic", "Converge", "Plume", "XRPLEVM", "Plasma", "CreditCoin"] | readonly ["Solana", "Pythnet", "Fogo"] | readonly ["Cosmoshub", "Evmos", "Injective", "Kujira", "Osmosis", "Sei", "Wormchain", "Dymension", "Neutron", "Stargaze", "Celestia", "Seda", "Provenance", "Noble"] | readonly ["Btc"] | readonly ["Algorand"] | readonly ["Sui"] | readonly ["Aptos"] | readonly ["Near"] | readonly ["HyperCore"] | undefined;
|
|
16
17
|
};
|
|
17
|
-
export declare const chainToPlatform: (<const K1 extends "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">(args_0: K1) => {
|
|
18
|
+
export declare const chainToPlatform: (<const K1 extends "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "HyperCore">(args_0: K1) => {
|
|
18
19
|
Arbitrum: "Evm";
|
|
19
20
|
Avalanche: "Evm";
|
|
20
21
|
Base: "Evm";
|
|
@@ -48,6 +49,8 @@ export declare const chainToPlatform: (<const K1 extends "Solana" | "Ethereum" |
|
|
|
48
49
|
Converge: "Evm";
|
|
49
50
|
Plume: "Evm";
|
|
50
51
|
XRPLEVM: "Evm";
|
|
52
|
+
Plasma: "Evm";
|
|
53
|
+
CreditCoin: "Evm";
|
|
51
54
|
Solana: "Solana";
|
|
52
55
|
Pythnet: "Solana";
|
|
53
56
|
Fogo: "Solana";
|
|
@@ -70,15 +73,16 @@ export declare const chainToPlatform: (<const K1 extends "Solana" | "Ethereum" |
|
|
|
70
73
|
Sui: "Sui";
|
|
71
74
|
Aptos: "Aptos";
|
|
72
75
|
Near: "Near";
|
|
76
|
+
HyperCore: "HyperLiquid";
|
|
73
77
|
}[K1 extends bigint ? `bigint(${K1})` : K1 extends boolean ? `boolean(${K1})` : K1]) & {
|
|
74
78
|
readonly has: (args_0: string) => boolean;
|
|
75
|
-
readonly get: (args_0: string) => "Solana" | "Algorand" | "Near" | "Sui" | "Aptos" | "Btc" | "Evm" | "Cosmwasm" | undefined;
|
|
79
|
+
readonly get: (args_0: string) => "Solana" | "Algorand" | "Near" | "Sui" | "Aptos" | "Btc" | "Evm" | "Cosmwasm" | "HyperLiquid" | undefined;
|
|
76
80
|
};
|
|
77
|
-
export declare const isPlatform: (platform: string) => platform is "Solana" | "Algorand" | "Near" | "Sui" | "Aptos" | "Btc" | "Evm" | "Cosmwasm";
|
|
81
|
+
export declare const isPlatform: (platform: string) => platform is "Solana" | "Algorand" | "Near" | "Sui" | "Aptos" | "Btc" | "Evm" | "Cosmwasm" | "HyperLiquid";
|
|
78
82
|
export type PlatformToChains<P extends Platform> = ReturnType<typeof platformToChains<P>>[number];
|
|
79
83
|
export type ChainToPlatform<C extends Chain> = ReturnType<typeof chainToPlatform<C>>;
|
|
80
|
-
declare const platformAddressFormatEntries: readonly [readonly ["Evm", "hex"], readonly ["Solana", "base58"], readonly ["Cosmwasm", "bech32"], readonly ["Btc", "bech32"], readonly ["Algorand", "algorandAppId"], readonly ["Sui", "hex"], readonly ["Aptos", "hex"], readonly ["Near", "sha256"]];
|
|
81
|
-
export declare const platformToAddressFormat: (<const K1 extends "Solana" | "Algorand" | "Near" | "Sui" | "Aptos" | "Btc" | "Evm" | "Cosmwasm">(args_0: K1) => {
|
|
84
|
+
declare const platformAddressFormatEntries: readonly [readonly ["Evm", "hex"], readonly ["Solana", "base58"], readonly ["Cosmwasm", "bech32"], readonly ["Btc", "bech32"], readonly ["Algorand", "algorandAppId"], readonly ["Sui", "hex"], readonly ["Aptos", "hex"], readonly ["Near", "sha256"], readonly ["HyperLiquid", "hex"]];
|
|
85
|
+
export declare const platformToAddressFormat: (<const K1 extends "Solana" | "Algorand" | "Near" | "Sui" | "Aptos" | "Btc" | "Evm" | "Cosmwasm" | "HyperLiquid">(args_0: K1) => {
|
|
82
86
|
readonly Evm: "hex";
|
|
83
87
|
readonly Solana: "base58";
|
|
84
88
|
readonly Cosmwasm: "bech32";
|
|
@@ -87,6 +91,7 @@ export declare const platformToAddressFormat: (<const K1 extends "Solana" | "Alg
|
|
|
87
91
|
readonly Sui: "hex";
|
|
88
92
|
readonly Aptos: "hex";
|
|
89
93
|
readonly Near: "sha256";
|
|
94
|
+
readonly HyperLiquid: "hex";
|
|
90
95
|
}[K1 extends bigint ? `bigint(${K1})` : K1 extends boolean ? `boolean(${K1})` : K1]) & {
|
|
91
96
|
readonly has: (args_0: string) => boolean;
|
|
92
97
|
readonly get: (args_0: string) => "hex" | "base58" | "bech32" | "algorandAppId" | "sha256" | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platforms.d.ts","sourceRoot":"","sources":["../../../src/constants/platforms.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"platforms.d.ts","sourceRoot":"","sources":["../../../src/constants/platforms.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAkFzC,eAAO,MAAM,SAAS,yFAAsC,CAAC;AAC7D,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;AAElD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;CAAqC,CAAC;AACnE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA6C,CAAC;AAE1E,eAAO,MAAM,UAAU,aAAc,MAAM,8GACX,CAAC;AAEjC,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,QAAQ,IAAI,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;AAClG,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,KAAK,IAAI,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC;AAGrF,QAAA,MAAM,4BAA4B,0RAUxB,CAAC;AAEX,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;CAAyC,CAAC;AAC9E,MAAM,MAAM,qBAAqB,GAAG,CAAC,OAAO,4BAA4B,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -34,7 +34,9 @@ const platformAndChainsEntries = [[
|
|
|
34
34
|
"Sonic",
|
|
35
35
|
"Converge",
|
|
36
36
|
"Plume",
|
|
37
|
-
"XRPLEVM"
|
|
37
|
+
"XRPLEVM",
|
|
38
|
+
"Plasma",
|
|
39
|
+
"CreditCoin",
|
|
38
40
|
]
|
|
39
41
|
], [
|
|
40
42
|
"Solana", [
|
|
@@ -79,6 +81,10 @@ const platformAndChainsEntries = [[
|
|
|
79
81
|
"Near", [
|
|
80
82
|
"Near"
|
|
81
83
|
]
|
|
84
|
+
], [
|
|
85
|
+
"HyperLiquid", [
|
|
86
|
+
"HyperCore"
|
|
87
|
+
]
|
|
82
88
|
],
|
|
83
89
|
];
|
|
84
90
|
export const platforms = column(platformAndChainsEntries, 0);
|
|
@@ -95,6 +101,7 @@ const platformAddressFormatEntries = [
|
|
|
95
101
|
["Sui", "hex"],
|
|
96
102
|
["Aptos", "hex"],
|
|
97
103
|
["Near", "sha256"],
|
|
104
|
+
["HyperLiquid", "hex"],
|
|
98
105
|
];
|
|
99
106
|
export const platformToAddressFormat = constMap(platformAddressFormatEntries);
|
|
100
107
|
//# sourceMappingURL=platforms.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platforms.js","sourceRoot":"","sources":["../../../src/constants/platforms.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAGvD,kBAAkB;AAClB,MAAM,wBAAwB,GAAG,CAAC;QAChC,KAAK,EAAE;YACL,UAAU;YACV,WAAW;YACX,MAAM;YACN,KAAK;YACL,MAAM;YACN,UAAU;YACV,QAAQ;YACR,QAAQ;YACR,UAAU;YACV,UAAU;YACV,SAAS;YACT,SAAS;YACT,iBAAiB;YACjB,aAAa;YACb,iBAAiB;YACjB,SAAS;YACT,gBAAgB;YAChB,QAAQ;YACR,QAAQ;YACR,QAAQ;YACR,OAAO;YACP,WAAW;YACX,QAAQ;YACR,UAAU;YACV,YAAY;YACZ,KAAK;YACL,UAAU;YACV,OAAO;YACP,MAAM;YACN,OAAO;YACP,UAAU;YACV,OAAO;YACP,SAAS;
|
|
1
|
+
{"version":3,"file":"platforms.js","sourceRoot":"","sources":["../../../src/constants/platforms.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAGvD,kBAAkB;AAClB,MAAM,wBAAwB,GAAG,CAAC;QAChC,KAAK,EAAE;YACL,UAAU;YACV,WAAW;YACX,MAAM;YACN,KAAK;YACL,MAAM;YACN,UAAU;YACV,QAAQ;YACR,QAAQ;YACR,UAAU;YACV,UAAU;YACV,SAAS;YACT,SAAS;YACT,iBAAiB;YACjB,aAAa;YACb,iBAAiB;YACjB,SAAS;YACT,gBAAgB;YAChB,QAAQ;YACR,QAAQ;YACR,QAAQ;YACR,OAAO;YACP,WAAW;YACX,QAAQ;YACR,UAAU;YACV,YAAY;YACZ,KAAK;YACL,UAAU;YACV,OAAO;YACP,MAAM;YACN,OAAO;YACP,UAAU;YACV,OAAO;YACP,SAAS;YACT,QAAQ;YACR,YAAY;SACb;KAAC,EAAE;QACJ,QAAQ,EAAE;YACR,QAAQ;YACR,SAAS;YACT,MAAM;SACP;KAAC,EAAE;QACJ,UAAU,EAAE;YACV,WAAW;YACX,OAAO;YACP,WAAW;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AAQ,CAAC,4BAA4B,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Network } from "./networks.js";
|
|
2
2
|
import type { Chain } from "./chains.js";
|
|
3
3
|
/** Default RPC Addresses by network and chain */
|
|
4
|
-
export declare const rpcAddress: (network: Network, chain: Chain) => "" | "https://ethereum-rpc.publicnode.com" | "https://api.mainnet-beta.solana.com" | "https://polygon-bor-rpc.publicnode.com" | "https://bsc-rpc.publicnode.com" | "https://avalanche-c-chain-rpc.publicnode.com" | "https://rpcapi.fantom.network" | "https://celo-rpc.publicnode.com" | "https://moonbeam-rpc.publicnode.com" | "https://rpc.mainnet.sui.io" | "https://fullnode.mainnet.aptoslabs.com/v1" | "https://arb1.arbitrum.io/rpc" | "https://mainnet.optimism.io" | "https://mainnet.base.org" | "https://osmosis-rpc.polkachu.com" | "https://cosmos-rpc.publicnode.com:443" | "https://evmos-rpc.polkachu.com" | "https://sentry.tm.injective.network" | "https://wormchain-rpc.quickapi.com" | "https://sei-rpc.polkachu.com/" | "https://mainnet-api.algonode.cloud" | "https://dymension-rpc.polkachu.com/" | "https://stargaze-rpc.polkachu.com/" | "https://celestia-rpc.polkachu.com/" | "https://neutron-rpc.polkachu.com/" | "https://rpc.provenance.io/" | "https://noble-rpc.polkachu.com/" | "https://rpc.linea.build" | "https://scroll-rpc.publicnode.com" | "https://xlayerrpc.okx.com/" | "https://rpc.mantle.xyz" | "https://public-en.node.kaia.io" | "https://rpc.berachain.com" | "https://mainnet.unichain.org" | "https://worldchain-mainnet.g.alchemy.com/public" | "https://rpc-qnd.inkonchain.com" | "https://rpc.soniclabs.com" | "https://rpc.hyperliquid.xyz/evm" | "https://jsonrpc-mezo.boar.network/" | "https://rpc.plume.org/" | "https://rpc.xrplevm.org/" | "https://data-seed-prebsc-1-s3.binance.org:8545" | "https://api.avax-test.network/ext/bc/C/rpc" | "https://rpc.testnet.fantom.network" | "https://alfajores-forno.celo-testnet.org" | "https://api.devnet.solana.com" | "https://rpc.api.moonbase.moonbeam.network" | "https://fullnode.testnet.sui.io" | "https://fullnode.testnet.aptoslabs.com/v1" | "https://sei-testnet-rpc.polkachu.com" | "https://testnet.sentry.tm.injective.network" | "https://rpc.testnet.osmosis.zone" | "https://rpc.sentry-02.theta-testnet.polypore.xyz" | "https://evmos-testnet-rpc.polkachu.com" | "https://gateway.testnet.xlabs.xyz/" | "https://ethereum-sepolia.publicnode.com" | "https://testnet-api.algonode.cloud" | "https://sepolia-rollup.arbitrum.io/rpc" | "https://sepolia.optimism.io" | "https://sepolia.base.org" | "https://rpc-amoy.polygon.technology/" | "https://rpc.testnet.mantle.xyz" | "https://bepolia.rpc.berachain.com/" | "https://evm-rpc-testnet.sei-apis.com/" | "https://rpc.sepolia.linea.build" | "https://testrpc.xlayer.tech/" | "https://scroll-sepolia-rpc.publicnode.com" | "https://public-en-kairos.node.kaia.io" | "https://sepolia.unichain.org" | "https://worldchain-sepolia.g.alchemy.com/public" | "https://rpc-qnd-sepolia.inkonchain.com" | "https://api.hyperliquid-testnet.xyz/evm" | "https://testnet-rpc.monad.xyz" | "https://noble-testnet-rpc.polkachu.com/" | "https://rpc.test.mezo.org" | "https://rpc.blaze.soniclabs.com" | "https://rpc-converge-testnet-1.t.conduit.xyz" | "https://testnet.fogo.io" | "https://testnet-rpc.plume.org" | "https://rpc.testnet.xrplevm.org/" | "http://eth-devnet:8545" | "http://eth-devnet2:8545" | "http://solana-devnet:8899";
|
|
4
|
+
export declare const rpcAddress: (network: Network, chain: Chain) => "" | "https://ethereum-rpc.publicnode.com" | "https://api.mainnet-beta.solana.com" | "https://polygon-bor-rpc.publicnode.com" | "https://bsc-rpc.publicnode.com" | "https://avalanche-c-chain-rpc.publicnode.com" | "https://rpcapi.fantom.network" | "https://celo-rpc.publicnode.com" | "https://moonbeam-rpc.publicnode.com" | "https://rpc.mainnet.sui.io" | "https://fullnode.mainnet.aptoslabs.com/v1" | "https://arb1.arbitrum.io/rpc" | "https://mainnet.optimism.io" | "https://mainnet.base.org" | "https://osmosis-rpc.polkachu.com" | "https://cosmos-rpc.publicnode.com:443" | "https://evmos-rpc.polkachu.com" | "https://sentry.tm.injective.network" | "https://wormchain-rpc.quickapi.com" | "https://sei-rpc.polkachu.com/" | "https://mainnet-api.algonode.cloud" | "https://dymension-rpc.polkachu.com/" | "https://stargaze-rpc.polkachu.com/" | "https://celestia-rpc.polkachu.com/" | "https://neutron-rpc.polkachu.com/" | "https://rpc.provenance.io/" | "https://noble-rpc.polkachu.com/" | "https://rpc.linea.build" | "https://scroll-rpc.publicnode.com" | "https://xlayerrpc.okx.com/" | "https://rpc.mantle.xyz" | "https://public-en.node.kaia.io" | "https://rpc.berachain.com" | "https://mainnet.unichain.org" | "https://worldchain-mainnet.g.alchemy.com/public" | "https://rpc-qnd.inkonchain.com" | "https://rpc.soniclabs.com" | "https://rpc.hyperliquid.xyz/evm" | "https://jsonrpc-mezo.boar.network/" | "https://rpc.plume.org/" | "https://rpc.xrplevm.org/" | "https://rpc.plasma.to/" | "https://mainnet3.creditcoin.network/" | "https://data-seed-prebsc-1-s3.binance.org:8545" | "https://api.avax-test.network/ext/bc/C/rpc" | "https://rpc.testnet.fantom.network" | "https://alfajores-forno.celo-testnet.org" | "https://api.devnet.solana.com" | "https://rpc.api.moonbase.moonbeam.network" | "https://fullnode.testnet.sui.io" | "https://fullnode.testnet.aptoslabs.com/v1" | "https://sei-testnet-rpc.polkachu.com" | "https://testnet.sentry.tm.injective.network" | "https://rpc.testnet.osmosis.zone" | "https://rpc.sentry-02.theta-testnet.polypore.xyz" | "https://evmos-testnet-rpc.polkachu.com" | "https://gateway.testnet.xlabs.xyz/" | "https://ethereum-sepolia.publicnode.com" | "https://testnet-api.algonode.cloud" | "https://sepolia-rollup.arbitrum.io/rpc" | "https://sepolia.optimism.io" | "https://sepolia.base.org" | "https://rpc-amoy.polygon.technology/" | "https://rpc.testnet.mantle.xyz" | "https://bepolia.rpc.berachain.com/" | "https://evm-rpc-testnet.sei-apis.com/" | "https://rpc.sepolia.linea.build" | "https://testrpc.xlayer.tech/" | "https://scroll-sepolia-rpc.publicnode.com" | "https://public-en-kairos.node.kaia.io" | "https://sepolia.unichain.org" | "https://worldchain-sepolia.g.alchemy.com/public" | "https://rpc-qnd-sepolia.inkonchain.com" | "https://api.hyperliquid-testnet.xyz/evm" | "https://testnet-rpc.monad.xyz" | "https://noble-testnet-rpc.polkachu.com/" | "https://rpc.test.mezo.org" | "https://rpc.blaze.soniclabs.com" | "https://rpc-converge-testnet-1.t.conduit.xyz" | "https://testnet.fogo.io" | "https://testnet-rpc.plume.org" | "https://rpc.testnet.xrplevm.org/" | "https://testnet-rpc.plasma.to" | "https://rpc.cc3-testnet.creditcoin.network" | "http://eth-devnet:8545" | "http://eth-devnet2:8545" | "http://solana-devnet:8899";
|
|
5
5
|
//# sourceMappingURL=rpc.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rpc.d.ts","sourceRoot":"","sources":["../../../src/constants/rpc.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"rpc.d.ts","sourceRoot":"","sources":["../../../src/constants/rpc.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAqGzC,iDAAiD;AACjD,eAAO,MAAM,UAAU,YAAa,OAAO,SAAS,KAAK,0rGAAkC,CAAC"}
|
|
@@ -40,8 +40,11 @@ const rpcConfig = [[
|
|
|
40
40
|
["Sonic", "https://rpc.soniclabs.com"],
|
|
41
41
|
["HyperEVM", "https://rpc.hyperliquid.xyz/evm"],
|
|
42
42
|
["Mezo", "https://jsonrpc-mezo.boar.network/"],
|
|
43
|
+
// ["HyperCore", "https://rpc.hyperliquid.xyz/evm"],
|
|
43
44
|
["Plume", "https://rpc.plume.org/"],
|
|
44
45
|
["XRPLEVM", "https://rpc.xrplevm.org/"],
|
|
46
|
+
["Plasma", "https://rpc.plasma.to/"],
|
|
47
|
+
["CreditCoin", "https://mainnet3.creditcoin.network/"],
|
|
45
48
|
]
|
|
46
49
|
], [
|
|
47
50
|
"Testnet", [
|
|
@@ -84,6 +87,8 @@ const rpcConfig = [[
|
|
|
84
87
|
["Fogo", "https://testnet.fogo.io"],
|
|
85
88
|
["Plume", "https://testnet-rpc.plume.org"],
|
|
86
89
|
["XRPLEVM", "https://rpc.testnet.xrplevm.org/"],
|
|
90
|
+
["Plasma", "https://testnet-rpc.plasma.to"],
|
|
91
|
+
["CreditCoin", "https://rpc.cc3-testnet.creditcoin.network"],
|
|
87
92
|
]
|
|
88
93
|
], [
|
|
89
94
|
"Devnet", [
|