@tcswap/sdk 4.2.16

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.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAMH,OAAO,EAAS,KAAK,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAQpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEpD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAC5E,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,0B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;;;4EAAqN,GAAI;;;;;;8BAA0T,CAAC;;;;;;;;;;;8DAA6nB,GAAI;;;;;;;oBAA6kB,CAAC;uBAAiC,CAAC;4BAAsC,CAAC;0BAAuC,CAAC;;;;;;oBAAqU,CAAC;4BAAsC,CAAC;uBAAoC,CAAC;0BAAoC,CAAC;;;;oDAA4T,CAAC;;;;;;;4BAA+Z,CAAC;uBAAoC,CAAC;;;;;;;sBAAoV,CAAC;uBAAoC,CAAC;;;;kGAAyH,CAAC;;;4FAAqR,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAAsa,GAAI;;;;;;;EADxl1I"}
@@ -0,0 +1,8 @@
1
+ export * from "@tcswap/plugins";
2
+ export * from "@tcswap/plugins/chainflip";
3
+ export * from "@tcswap/plugins/evm";
4
+ export * from "@tcswap/plugins/near";
5
+ export * from "@tcswap/plugins/radix";
6
+ export * from "@tcswap/plugins/solana";
7
+ export * from "@tcswap/plugins/thorchain";
8
+ //# sourceMappingURL=plugins.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../src/plugins.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "@tcswap/server";
2
+ //# sourceMappingURL=server.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/server.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,24 @@
1
+ export * from "@tcswap/wallets";
2
+ export * from "@tcswap/wallets/bitget";
3
+ export * from "@tcswap/wallets/coinbase";
4
+ export * from "@tcswap/wallets/cosmostation";
5
+ export * from "@tcswap/wallets/ctrl";
6
+ export * from "@tcswap/wallets/evm-extensions";
7
+ export * from "@tcswap/wallets/keepkey";
8
+ export * from "@tcswap/wallets/keepkey-bex";
9
+ export * from "@tcswap/wallets/keplr";
10
+ export * from "@tcswap/wallets/keystore";
11
+ export * from "@tcswap/wallets/ledger";
12
+ export * from "@tcswap/wallets/near-wallet-selector";
13
+ export * from "@tcswap/wallets/okx";
14
+ export * from "@tcswap/wallets/onekey";
15
+ export * from "@tcswap/wallets/phantom";
16
+ export * from "@tcswap/wallets/polkadotjs";
17
+ export * from "@tcswap/wallets/radix";
18
+ export * from "@tcswap/wallets/talisman";
19
+ export * from "@tcswap/wallets/trezor";
20
+ export * from "@tcswap/wallets/tronlink";
21
+ export * from "@tcswap/wallets/vultisig";
22
+ export * from "@tcswap/wallets/walletconnect";
23
+ export * from "@tcswap/wallets/xaman";
24
+ //# sourceMappingURL=wallets.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wallets.d.ts","sourceRoot":"","sources":["../../src/wallets.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sBAAsB,CAAC;AACrC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sCAAsC,CAAC;AACrD,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uBAAuB,CAAC"}
@@ -0,0 +1,4 @@
1
+ var b={};module.exports=q(b);f(b,require("@tcswap/wallets"),module.exports);f(b,require("@tcswap/wallets/bitget"),module.exports);f(b,require("@tcswap/wallets/coinbase"),module.exports);f(b,require("@tcswap/wallets/cosmostation"),module.exports);f(b,require("@tcswap/wallets/ctrl"),module.exports);f(b,require("@tcswap/wallets/evm-extensions"),module.exports);f(b,require("@tcswap/wallets/keepkey"),module.exports);f(b,require("@tcswap/wallets/keepkey-bex"),module.exports);f(b,require("@tcswap/wallets/keplr"),module.exports);f(b,require("@tcswap/wallets/keystore"),module.exports);f(b,require("@tcswap/wallets/ledger"),module.exports);f(b,require("@tcswap/wallets/near-wallet-selector"),module.exports);f(b,require("@tcswap/wallets/okx"),module.exports);f(b,require("@tcswap/wallets/onekey"),module.exports);f(b,require("@tcswap/wallets/phantom"),module.exports);f(b,require("@tcswap/wallets/polkadotjs"),module.exports);f(b,require("@tcswap/wallets/radix"),module.exports);f(b,require("@tcswap/wallets/talisman"),module.exports);f(b,require("@tcswap/wallets/trezor"),module.exports);f(b,require("@tcswap/wallets/tronlink"),module.exports);f(b,require("@tcswap/wallets/vultisig"),module.exports);f(b,require("@tcswap/wallets/walletconnect"),module.exports);f(b,require("@tcswap/wallets/xaman"),module.exports);
2
+
3
+ //# debugId=DD84B100C0AAD8BA64756E2164756E21
4
+ //# sourceMappingURL=wallets.cjs.map
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../src/wallets.ts"],
4
+ "sourcesContent": [
5
+ "export * from \"@tcswap/wallets\";\nexport * from \"@tcswap/wallets/bitget\";\nexport * from \"@tcswap/wallets/coinbase\";\nexport * from \"@tcswap/wallets/cosmostation\";\nexport * from \"@tcswap/wallets/ctrl\";\nexport * from \"@tcswap/wallets/evm-extensions\";\nexport * from \"@tcswap/wallets/keepkey\";\nexport * from \"@tcswap/wallets/keepkey-bex\";\nexport * from \"@tcswap/wallets/keplr\";\nexport * from \"@tcswap/wallets/keystore\";\nexport * from \"@tcswap/wallets/ledger\";\nexport * from \"@tcswap/wallets/near-wallet-selector\";\nexport * from \"@tcswap/wallets/okx\";\nexport * from \"@tcswap/wallets/onekey\";\nexport * from \"@tcswap/wallets/phantom\";\nexport * from \"@tcswap/wallets/polkadotjs\";\nexport * from \"@tcswap/wallets/radix\";\nexport * from \"@tcswap/wallets/talisman\";\nexport * from \"@tcswap/wallets/trezor\";\nexport * from \"@tcswap/wallets/tronlink\";\nexport * from \"@tcswap/wallets/vultisig\";\nexport * from \"@tcswap/wallets/walletconnect\";\nexport * from \"@tcswap/wallets/xaman\";\n"
6
+ ],
7
+ "mappings": "6BAAA,+CACA,sDACA,wDACA,4DACA,oDACA,8DACA,uDACA,2DACA,qDACA,wDACA,sDACA,oEACA,mDACA,sDACA,uDACA,0DACA,qDACA,wDACA,sDACA,wDACA,wDACA,6DACA",
8
+ "debugId": "DD84B100C0AAD8BA64756E2164756E21",
9
+ "names": []
10
+ }
@@ -0,0 +1,4 @@
1
+ export*from"@tcswap/wallets";export*from"@tcswap/wallets/bitget";export*from"@tcswap/wallets/coinbase";export*from"@tcswap/wallets/cosmostation";export*from"@tcswap/wallets/ctrl";export*from"@tcswap/wallets/evm-extensions";export*from"@tcswap/wallets/keepkey";export*from"@tcswap/wallets/keepkey-bex";export*from"@tcswap/wallets/keplr";export*from"@tcswap/wallets/keystore";export*from"@tcswap/wallets/ledger";export*from"@tcswap/wallets/near-wallet-selector";export*from"@tcswap/wallets/okx";export*from"@tcswap/wallets/onekey";export*from"@tcswap/wallets/phantom";export*from"@tcswap/wallets/polkadotjs";export*from"@tcswap/wallets/radix";export*from"@tcswap/wallets/talisman";export*from"@tcswap/wallets/trezor";export*from"@tcswap/wallets/tronlink";export*from"@tcswap/wallets/vultisig";export*from"@tcswap/wallets/walletconnect";export*from"@tcswap/wallets/xaman";
2
+
3
+ //# debugId=B280679AB916C87F64756E2164756E21
4
+ //# sourceMappingURL=wallets.js.map
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../src/wallets.ts"],
4
+ "sourcesContent": [
5
+ "export * from \"@tcswap/wallets\";\nexport * from \"@tcswap/wallets/bitget\";\nexport * from \"@tcswap/wallets/coinbase\";\nexport * from \"@tcswap/wallets/cosmostation\";\nexport * from \"@tcswap/wallets/ctrl\";\nexport * from \"@tcswap/wallets/evm-extensions\";\nexport * from \"@tcswap/wallets/keepkey\";\nexport * from \"@tcswap/wallets/keepkey-bex\";\nexport * from \"@tcswap/wallets/keplr\";\nexport * from \"@tcswap/wallets/keystore\";\nexport * from \"@tcswap/wallets/ledger\";\nexport * from \"@tcswap/wallets/near-wallet-selector\";\nexport * from \"@tcswap/wallets/okx\";\nexport * from \"@tcswap/wallets/onekey\";\nexport * from \"@tcswap/wallets/phantom\";\nexport * from \"@tcswap/wallets/polkadotjs\";\nexport * from \"@tcswap/wallets/radix\";\nexport * from \"@tcswap/wallets/talisman\";\nexport * from \"@tcswap/wallets/trezor\";\nexport * from \"@tcswap/wallets/tronlink\";\nexport * from \"@tcswap/wallets/vultisig\";\nexport * from \"@tcswap/wallets/walletconnect\";\nexport * from \"@tcswap/wallets/xaman\";\n"
6
+ ],
7
+ "mappings": "AAAA,6BACA,oCACA,sCACA,0CACA,kCACA,4CACA,qCACA,yCACA,mCACA,sCACA,oCACA,kDACA,iCACA,oCACA,qCACA,wCACA,mCACA,sCACA,oCACA,sCACA,sCACA,2CACA",
8
+ "debugId": "B280679AB916C87F64756E2164756E21",
9
+ "names": []
10
+ }
package/package.json ADDED
@@ -0,0 +1,58 @@
1
+ {
2
+ "author": "swapkit-oss",
3
+ "dependencies": {
4
+ "@tcswap/core": "4.1.16",
5
+ "@tcswap/helpers": "4.5.15",
6
+ "@tcswap/plugins": "4.2.15",
7
+ "@tcswap/server": "4.0.59",
8
+ "@tcswap/toolboxes": "4.3.15",
9
+ "@tcswap/wallets": "4.3.16"
10
+ },
11
+ "description": "USwap - SDK",
12
+ "exports": {
13
+ ".": {
14
+ "bun": "./src/index.ts",
15
+ "import": "./dist/index.js",
16
+ "require": "./dist/index.cjs",
17
+ "types": "./dist/types/index.d.ts"
18
+ },
19
+ "./core": {
20
+ "bun": "./src/core.ts",
21
+ "import": "./dist/core.js",
22
+ "require": "./dist/core.cjs",
23
+ "types": "./dist/types/core.d.ts"
24
+ },
25
+ "./plugins": {
26
+ "bun": "./src/plugins.ts",
27
+ "import": "./dist/plugins.js",
28
+ "require": "./dist/plugins.cjs",
29
+ "types": "./dist/types/plugins.d.ts"
30
+ },
31
+ "./server": {
32
+ "bun": "./src/server.ts",
33
+ "import": "./dist/server.js",
34
+ "require": "./dist/server.cjs",
35
+ "types": "./dist/types/server.d.ts"
36
+ },
37
+ "./wallets": {
38
+ "bun": "./src/wallets.ts",
39
+ "import": "./dist/wallets.js",
40
+ "require": "./dist/wallets.cjs",
41
+ "types": "./dist/types/wallets.d.ts"
42
+ }
43
+ },
44
+ "files": ["dist/", "src/"],
45
+ "homepage": "https://github.com/thorchain/TCSwap",
46
+ "license": "Apache-2.0",
47
+ "name": "@tcswap/sdk",
48
+ "repository": { "directory": "packages/sdk", "type": "git", "url": "git+https://github.com/thorchain/TCSwap.git" },
49
+ "scripts": {
50
+ "build": "bun run ./build.ts",
51
+ "build:clean": "rm -rf dist && bun run ./build.ts",
52
+ "clean": "rm -rf dist node_modules *.tsbuildinfo",
53
+ "type-check": "bun tsc --noEmit",
54
+ "type-check:go": "tsgo"
55
+ },
56
+ "type": "module",
57
+ "version": "4.2.16"
58
+ }
package/src/core.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "@tcswap/core";
package/src/index.ts ADDED
@@ -0,0 +1,135 @@
1
+ /**
2
+ * Modifications © 2025 Horizontal Systems.
3
+ */
4
+
5
+ // This should be cleared from unnecessary imports and migrate to:
6
+ // - `sdk/toolboxes`
7
+ // - `sdk/plugins`
8
+ // - `sdk/wallets`
9
+ import { USwap, type USwapConfigState } from "@tcswap/core";
10
+ import type { createPlugin } from "@tcswap/plugins";
11
+ import { ChainflipPlugin } from "@tcswap/plugins/chainflip";
12
+ import { EVMPlugin } from "@tcswap/plugins/evm";
13
+ import { GardenPlugin } from "@tcswap/plugins/garden";
14
+ import { NearPlugin } from "@tcswap/plugins/near";
15
+ import { RadixPlugin } from "@tcswap/plugins/radix";
16
+ import { SolanaPlugin } from "@tcswap/plugins/solana";
17
+ import { MayachainPlugin, ThorchainPlugin } from "@tcswap/plugins/thorchain";
18
+ import type { createWallet } from "@tcswap/wallets";
19
+
20
+ import { bitgetWallet } from "@tcswap/wallets/bitget";
21
+ import { coinbaseWallet } from "@tcswap/wallets/coinbase";
22
+ import { ctrlWallet } from "@tcswap/wallets/ctrl";
23
+ import { evmWallet } from "@tcswap/wallets/evm-extensions";
24
+ import { keepkeyWallet } from "@tcswap/wallets/keepkey";
25
+ import { keepkeyBexWallet } from "@tcswap/wallets/keepkey-bex";
26
+ import { keplrWallet } from "@tcswap/wallets/keplr";
27
+ import { keystoreWallet } from "@tcswap/wallets/keystore";
28
+ import { ledgerWallet } from "@tcswap/wallets/ledger";
29
+ import { walletSelectorWallet } from "@tcswap/wallets/near-wallet-selector";
30
+ import { okxWallet } from "@tcswap/wallets/okx";
31
+ import { onekeyWallet } from "@tcswap/wallets/onekey";
32
+ import { passkeysWallet } from "@tcswap/wallets/passkeys";
33
+ import { phantomWallet } from "@tcswap/wallets/phantom";
34
+ import { polkadotWallet } from "@tcswap/wallets/polkadotjs";
35
+ import { radixWallet } from "@tcswap/wallets/radix";
36
+ import { talismanWallet } from "@tcswap/wallets/talisman";
37
+ import { trezorWallet } from "@tcswap/wallets/trezor";
38
+ import { tronlinkWallet } from "@tcswap/wallets/tronlink";
39
+ import { vultisigWallet } from "@tcswap/wallets/vultisig";
40
+ import { walletconnectWallet } from "@tcswap/wallets/walletconnect";
41
+ import { xamanWallet } from "@tcswap/wallets/xaman";
42
+
43
+ export * from "@tcswap/core";
44
+ export * from "@tcswap/helpers";
45
+ export * from "@tcswap/helpers/api";
46
+ export * from "@tcswap/plugins";
47
+ export * from "@tcswap/plugins/chainflip";
48
+ export * from "@tcswap/plugins/evm";
49
+ export * from "@tcswap/plugins/near";
50
+ export * from "@tcswap/plugins/radix";
51
+ export * from "@tcswap/plugins/solana";
52
+ export * from "@tcswap/plugins/thorchain";
53
+ export * from "@tcswap/toolboxes";
54
+ export * from "@tcswap/toolboxes/cosmos";
55
+ export * from "@tcswap/toolboxes/evm";
56
+ export * from "@tcswap/toolboxes/radix";
57
+ export * from "@tcswap/toolboxes/solana";
58
+ export * from "@tcswap/toolboxes/substrate";
59
+ export * from "@tcswap/toolboxes/utxo";
60
+ export * from "@tcswap/wallets";
61
+
62
+ const exodusWallet = { ...passkeysWallet, connectExodusWallet: passkeysWallet.connectPasskeys };
63
+
64
+ export {
65
+ bitgetWallet,
66
+ coinbaseWallet,
67
+ ctrlWallet,
68
+ evmWallet,
69
+ exodusWallet,
70
+ keepkeyBexWallet,
71
+ keepkeyWallet,
72
+ keplrWallet,
73
+ keystoreWallet,
74
+ ledgerWallet,
75
+ okxWallet,
76
+ onekeyWallet,
77
+ passkeysWallet,
78
+ phantomWallet,
79
+ polkadotWallet,
80
+ radixWallet,
81
+ talismanWallet,
82
+ trezorWallet,
83
+ tronlinkWallet,
84
+ vultisigWallet,
85
+ walletSelectorWallet,
86
+ walletconnectWallet,
87
+ xamanWallet,
88
+ };
89
+
90
+ export const defaultPlugins = {
91
+ ...ChainflipPlugin,
92
+ ...EVMPlugin,
93
+ ...MayachainPlugin,
94
+ ...ThorchainPlugin,
95
+ ...RadixPlugin,
96
+ ...SolanaPlugin,
97
+ ...NearPlugin,
98
+ ...GardenPlugin,
99
+ };
100
+
101
+ export const defaultWallets = {
102
+ ...bitgetWallet,
103
+ ...coinbaseWallet,
104
+ ...ctrlWallet,
105
+ ...evmWallet,
106
+ ...exodusWallet,
107
+ ...keepkeyBexWallet,
108
+ ...keepkeyWallet,
109
+ ...keplrWallet,
110
+ ...keystoreWallet,
111
+ ...ledgerWallet,
112
+ ...okxWallet,
113
+ ...onekeyWallet,
114
+ ...phantomWallet,
115
+ ...polkadotWallet,
116
+ ...passkeysWallet,
117
+ ...radixWallet,
118
+ ...talismanWallet,
119
+ ...trezorWallet,
120
+ ...tronlinkWallet,
121
+ ...vultisigWallet,
122
+ ...walletSelectorWallet,
123
+ ...walletconnectWallet,
124
+ ...xamanWallet,
125
+ } as ReturnType<typeof createWallet>;
126
+
127
+ export function createUSwap<
128
+ Plugins extends ReturnType<typeof createPlugin>,
129
+ Wallets extends ReturnType<typeof createWallet>,
130
+ >({ config, plugins, wallets }: { config?: USwapConfigState; plugins?: Plugins; wallets?: Wallets } = {}) {
131
+ const mergedPlugins = { ...defaultPlugins, ...plugins };
132
+ const mergedWallets = { ...defaultWallets, ...wallets };
133
+
134
+ return USwap({ config: config, plugins: mergedPlugins, wallets: mergedWallets });
135
+ }
package/src/plugins.ts ADDED
@@ -0,0 +1,7 @@
1
+ export * from "@tcswap/plugins";
2
+ export * from "@tcswap/plugins/chainflip";
3
+ export * from "@tcswap/plugins/evm";
4
+ export * from "@tcswap/plugins/near";
5
+ export * from "@tcswap/plugins/radix";
6
+ export * from "@tcswap/plugins/solana";
7
+ export * from "@tcswap/plugins/thorchain";
package/src/server.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "@tcswap/server";
package/src/wallets.ts ADDED
@@ -0,0 +1,23 @@
1
+ export * from "@tcswap/wallets";
2
+ export * from "@tcswap/wallets/bitget";
3
+ export * from "@tcswap/wallets/coinbase";
4
+ export * from "@tcswap/wallets/cosmostation";
5
+ export * from "@tcswap/wallets/ctrl";
6
+ export * from "@tcswap/wallets/evm-extensions";
7
+ export * from "@tcswap/wallets/keepkey";
8
+ export * from "@tcswap/wallets/keepkey-bex";
9
+ export * from "@tcswap/wallets/keplr";
10
+ export * from "@tcswap/wallets/keystore";
11
+ export * from "@tcswap/wallets/ledger";
12
+ export * from "@tcswap/wallets/near-wallet-selector";
13
+ export * from "@tcswap/wallets/okx";
14
+ export * from "@tcswap/wallets/onekey";
15
+ export * from "@tcswap/wallets/phantom";
16
+ export * from "@tcswap/wallets/polkadotjs";
17
+ export * from "@tcswap/wallets/radix";
18
+ export * from "@tcswap/wallets/talisman";
19
+ export * from "@tcswap/wallets/trezor";
20
+ export * from "@tcswap/wallets/tronlink";
21
+ export * from "@tcswap/wallets/vultisig";
22
+ export * from "@tcswap/wallets/walletconnect";
23
+ export * from "@tcswap/wallets/xaman";