@ecency/wallets 1.0.19 → 1.1.1
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/ecency-wallets.es.d.ts +11 -3
- package/dist/ecency-wallets.es.js +131 -139
- package/package.json +1 -1
|
@@ -38,7 +38,8 @@ export declare enum EcencyWalletCurrency {
|
|
|
38
38
|
|
|
39
39
|
declare namespace EcencyWalletsPrivateApi {
|
|
40
40
|
export {
|
|
41
|
-
useCreateAccountWithWallets
|
|
41
|
+
useCreateAccountWithWallets,
|
|
42
|
+
useCheckWalletExistence
|
|
42
43
|
}
|
|
43
44
|
}
|
|
44
45
|
export { EcencyWalletsPrivateApi }
|
|
@@ -53,10 +54,17 @@ declare interface Payload {
|
|
|
53
54
|
}
|
|
54
55
|
|
|
55
56
|
declare interface Payload_2 {
|
|
57
|
+
address: string;
|
|
58
|
+
currency: EcencyWalletCurrency;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
declare interface Payload_3 {
|
|
56
62
|
address: string;
|
|
57
63
|
privateKeyOrSeed: string;
|
|
58
64
|
}
|
|
59
65
|
|
|
66
|
+
declare function useCheckWalletExistence(): UseMutationResult<boolean, Error, Payload_2, unknown>;
|
|
67
|
+
|
|
60
68
|
export declare function useCoinGeckoPriceQuery(currency?: EcencyWalletCurrency): UseQueryResult<number, Error>;
|
|
61
69
|
|
|
62
70
|
declare function useCreateAccountWithWallets(username: string): UseMutationResult<Response, Error, Payload, unknown>;
|
|
@@ -75,9 +83,9 @@ export declare function useHiveKeysQuery(username: string): UseQueryResult<Ecenc
|
|
|
75
83
|
|
|
76
84
|
export declare function useImportWallet(username: string, currency: EcencyWalletCurrency): UseMutationResult< {
|
|
77
85
|
privateKey: string;
|
|
78
|
-
address:
|
|
86
|
+
address: any;
|
|
79
87
|
publicKey: string;
|
|
80
|
-
}, Error,
|
|
88
|
+
}, Error, Payload_3, unknown>;
|
|
81
89
|
|
|
82
90
|
export declare function useSeedPhrase(username: string): UseQueryResult<string, Error>;
|
|
83
91
|
|
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
import { useCallback as
|
|
2
|
-
import { useQuery as p, useQueryClient as
|
|
3
|
-
import { BtcWallet as
|
|
4
|
-
import { EthWallet as
|
|
5
|
-
import { TrxWallet as
|
|
1
|
+
import { useCallback as R } from "react";
|
|
2
|
+
import { useQuery as p, useQueryClient as y, useMutation as m } from "@tanstack/react-query";
|
|
3
|
+
import { BtcWallet as O } from "@okxweb3/coin-bitcoin";
|
|
4
|
+
import { EthWallet as v } from "@okxweb3/coin-ethereum";
|
|
5
|
+
import { TrxWallet as k } from "@okxweb3/coin-tron";
|
|
6
6
|
import { TonWallet as A } from "@okxweb3/coin-ton";
|
|
7
|
-
import { SolWallet as
|
|
8
|
-
import { AtomWallet as
|
|
7
|
+
import { SolWallet as N } from "@okxweb3/coin-solana";
|
|
8
|
+
import { AtomWallet as K } from "@okxweb3/coin-cosmos";
|
|
9
9
|
import { AptosWallet as D } from "@okxweb3/coin-aptos";
|
|
10
|
-
import
|
|
10
|
+
import j, { mnemonicToSeedSync as C } from "bip39";
|
|
11
11
|
import { LRUCache as H } from "lru-cache";
|
|
12
12
|
import { PrivateKey as u } from "@hiveio/dhive";
|
|
13
13
|
var o = /* @__PURE__ */ ((e) => (e.BTC = "btc", e.ETH = "eth", e.APT = "aptos", e.ATOM = "cosmos", e.TON = "ton", e.TRON = "tron", e.SOL = "solana", e))(o || {});
|
|
14
|
-
function
|
|
14
|
+
function x(e) {
|
|
15
15
|
return new Promise((t) => setTimeout(t, e));
|
|
16
16
|
}
|
|
17
|
-
function
|
|
17
|
+
function h(e) {
|
|
18
18
|
switch (e) {
|
|
19
19
|
case o.BTC:
|
|
20
|
-
return new
|
|
20
|
+
return new O();
|
|
21
21
|
case o.ETH:
|
|
22
|
-
return new
|
|
22
|
+
return new v();
|
|
23
23
|
case o.TRON:
|
|
24
|
-
return new
|
|
24
|
+
return new k();
|
|
25
25
|
case o.TON:
|
|
26
26
|
return new A();
|
|
27
27
|
case o.SOL:
|
|
28
|
-
return new k();
|
|
29
|
-
case o.ATOM:
|
|
30
28
|
return new N();
|
|
29
|
+
case o.ATOM:
|
|
30
|
+
return new K();
|
|
31
31
|
case o.APT:
|
|
32
32
|
return new D();
|
|
33
33
|
default:
|
|
34
34
|
return;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
function
|
|
38
|
-
return
|
|
37
|
+
function ce(e) {
|
|
38
|
+
return C(e).toString("hex");
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function ie(e, t) {
|
|
41
41
|
return p({
|
|
42
42
|
queryKey: ["ecency-wallets", "external-wallet-balance", e, t],
|
|
43
43
|
queryFn: async () => {
|
|
44
44
|
switch (e) {
|
|
45
45
|
case o.BTC:
|
|
46
|
-
const
|
|
46
|
+
const r = await (await fetch(
|
|
47
47
|
`https://mempool.space/api/address/${t}`
|
|
48
48
|
)).json();
|
|
49
|
-
return (
|
|
49
|
+
return (r.chain_stats.funded_txo_sum - r.chain_stats.spent_txo_sum) / 1e8;
|
|
50
50
|
case o.ETH:
|
|
51
51
|
return +(await (await fetch("https://eth.llamarpc.com", {
|
|
52
52
|
method: "POST",
|
|
@@ -79,12 +79,12 @@ function ce(e, t) {
|
|
|
79
79
|
`https://tonapi.io/v1/blockchain/getAccount?account=${t}`
|
|
80
80
|
)).json()).balance / 1e9;
|
|
81
81
|
case o.APT:
|
|
82
|
-
const
|
|
82
|
+
const d = (await (await fetch(
|
|
83
83
|
`https://fullnode.mainnet.aptoslabs.com/v1/accounts/${t}/resources`
|
|
84
84
|
)).json()).find(
|
|
85
|
-
(
|
|
85
|
+
(S) => S.type.includes("coin::CoinStore")
|
|
86
86
|
);
|
|
87
|
-
return
|
|
87
|
+
return d ? parseInt(d.data.coin.value) / 1e8 : 0;
|
|
88
88
|
case o.ATOM:
|
|
89
89
|
return +(await (await fetch(
|
|
90
90
|
`https://rest.cosmos.directory/cosmoshub/auth/accounts/${t}`
|
|
@@ -93,13 +93,13 @@ function ce(e, t) {
|
|
|
93
93
|
}
|
|
94
94
|
});
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function f(e) {
|
|
97
97
|
return p({
|
|
98
98
|
queryKey: ["ecency-wallets", "seed", e],
|
|
99
|
-
queryFn: async () =>
|
|
99
|
+
queryFn: async () => j.generateMnemonic(128)
|
|
100
100
|
});
|
|
101
101
|
}
|
|
102
|
-
const
|
|
102
|
+
const W = {
|
|
103
103
|
max: 500,
|
|
104
104
|
// how long to live in ms
|
|
105
105
|
ttl: 1e3 * 60 * 5,
|
|
@@ -107,9 +107,9 @@ const C = {
|
|
|
107
107
|
allowStale: !1,
|
|
108
108
|
updateAgeOnGet: !1,
|
|
109
109
|
updateAgeOnHas: !1
|
|
110
|
-
},
|
|
111
|
-
const t =
|
|
112
|
-
return t ===
|
|
110
|
+
}, b = new H(W), w = Symbol("undefined"), _ = (e, t) => b.set(e, t === void 0 ? w : t), E = (e) => {
|
|
111
|
+
const t = b.get(e);
|
|
112
|
+
return t === w ? void 0 : t;
|
|
113
113
|
};
|
|
114
114
|
function le(e) {
|
|
115
115
|
return p({
|
|
@@ -132,11 +132,11 @@ function le(e) {
|
|
|
132
132
|
default:
|
|
133
133
|
t = e;
|
|
134
134
|
}
|
|
135
|
-
let n = E("gecko"),
|
|
135
|
+
let n = E("gecko"), r;
|
|
136
136
|
if (n)
|
|
137
|
-
|
|
137
|
+
r = n;
|
|
138
138
|
else {
|
|
139
|
-
const
|
|
139
|
+
const a = await (await fetch(
|
|
140
140
|
"https://api.coingecko.com/api/v3/simple/price",
|
|
141
141
|
{
|
|
142
142
|
method: "POST",
|
|
@@ -148,36 +148,36 @@ function le(e) {
|
|
|
148
148
|
})
|
|
149
149
|
}
|
|
150
150
|
)).json();
|
|
151
|
-
|
|
151
|
+
_("gecko", a === void 0 ? w : a), r = a;
|
|
152
152
|
}
|
|
153
|
-
return 1 / +
|
|
153
|
+
return 1 / +r[Object.keys(r)[0]].usd;
|
|
154
154
|
},
|
|
155
155
|
enabled: !!e
|
|
156
156
|
});
|
|
157
157
|
}
|
|
158
|
-
function
|
|
159
|
-
const { data: t } =
|
|
158
|
+
function q(e) {
|
|
159
|
+
const { data: t } = f(e);
|
|
160
160
|
return p({
|
|
161
161
|
queryKey: ["ecencу-wallets", "hive-keys", e, t],
|
|
162
162
|
queryFn: async () => {
|
|
163
163
|
if (!t)
|
|
164
164
|
throw new Error("[Ecency][Wallets] - no seed to create Hive account");
|
|
165
|
-
const n = u.fromLogin(e, t, "owner"),
|
|
165
|
+
const n = u.fromLogin(e, t, "owner"), r = u.fromLogin(e, t, "active"), s = u.fromLogin(e, t, "posting"), i = u.fromLogin(e, t, "memo");
|
|
166
166
|
return {
|
|
167
167
|
username: e,
|
|
168
168
|
owner: n.toString(),
|
|
169
|
-
active:
|
|
170
|
-
posting:
|
|
169
|
+
active: r.toString(),
|
|
170
|
+
posting: s.toString(),
|
|
171
171
|
memo: i.toString(),
|
|
172
172
|
ownerPubkey: n.createPublic().toString(),
|
|
173
|
-
activePubkey:
|
|
174
|
-
postingPubkey:
|
|
173
|
+
activePubkey: r.createPublic().toString(),
|
|
174
|
+
postingPubkey: s.createPublic().toString(),
|
|
175
175
|
memoPubkey: i.createPublic().toString()
|
|
176
176
|
};
|
|
177
177
|
}
|
|
178
178
|
});
|
|
179
179
|
}
|
|
180
|
-
const
|
|
180
|
+
const B = {
|
|
181
181
|
[o.BTC]: "m/44'/0'/0'/0/0",
|
|
182
182
|
// Bitcoin (BIP44)
|
|
183
183
|
[o.ETH]: "m/44'/60'/0'/0/0",
|
|
@@ -194,17 +194,17 @@ const W = {
|
|
|
194
194
|
// Cosmos (BIP44)
|
|
195
195
|
};
|
|
196
196
|
function pe(e, t) {
|
|
197
|
-
const { data: n } =
|
|
197
|
+
const { data: n } = f(e), r = y(), s = m({
|
|
198
198
|
mutationKey: ["ecency-wallets", "create-wallet", e, t],
|
|
199
199
|
mutationFn: async () => {
|
|
200
200
|
if (!n)
|
|
201
201
|
throw new Error("[Ecency][Wallets] - No seed to create a wallet");
|
|
202
|
-
const
|
|
202
|
+
const a = h(t), c = await (a == null ? void 0 : a.getDerivedPrivateKey({
|
|
203
203
|
mnemonic: n,
|
|
204
|
-
hdPath:
|
|
204
|
+
hdPath: B[t]
|
|
205
205
|
}));
|
|
206
|
-
await
|
|
207
|
-
const l = await (
|
|
206
|
+
await x(1e3);
|
|
207
|
+
const l = await (a == null ? void 0 : a.getNewAddress({
|
|
208
208
|
privateKey: c
|
|
209
209
|
}));
|
|
210
210
|
return {
|
|
@@ -215,44 +215,44 @@ function pe(e, t) {
|
|
|
215
215
|
currency: t
|
|
216
216
|
};
|
|
217
217
|
},
|
|
218
|
-
onSuccess: (
|
|
219
|
-
|
|
220
|
-
["ecency-wallets", "wallets",
|
|
221
|
-
(c) => new Map(c ? Array.from(c.entries()) : []).set(
|
|
218
|
+
onSuccess: (a) => {
|
|
219
|
+
r.setQueryData(
|
|
220
|
+
["ecency-wallets", "wallets", a.username],
|
|
221
|
+
(c) => new Map(c ? Array.from(c.entries()) : []).set(a.currency, a)
|
|
222
222
|
);
|
|
223
223
|
}
|
|
224
|
-
}), i =
|
|
224
|
+
}), i = R(() => {
|
|
225
225
|
}, []);
|
|
226
226
|
return {
|
|
227
|
-
createWallet:
|
|
227
|
+
createWallet: s,
|
|
228
228
|
importWallet: i
|
|
229
229
|
};
|
|
230
230
|
}
|
|
231
|
-
const
|
|
232
|
-
function
|
|
231
|
+
const g = { privateApiHost: "https://ecency.com" };
|
|
232
|
+
function L(e) {
|
|
233
233
|
const { data: t } = p({
|
|
234
234
|
queryKey: ["ecency-wallets", "wallets", e]
|
|
235
|
-
}), { data: n } =
|
|
235
|
+
}), { data: n } = q(e);
|
|
236
236
|
return m({
|
|
237
237
|
mutationKey: ["ecency-wallets", "create-account-with-wallets", e],
|
|
238
|
-
mutationFn: ({ currency:
|
|
238
|
+
mutationFn: ({ currency: r, address: s }) => fetch(g.privateApiHost + "/private-api/wallets-add", {
|
|
239
239
|
method: "POST",
|
|
240
240
|
headers: {
|
|
241
241
|
"Content-Type": "application/json"
|
|
242
242
|
},
|
|
243
243
|
body: JSON.stringify({
|
|
244
244
|
username: e,
|
|
245
|
-
token:
|
|
246
|
-
address:
|
|
245
|
+
token: r,
|
|
246
|
+
address: s,
|
|
247
247
|
meta: {
|
|
248
248
|
ownerPublicKey: n == null ? void 0 : n.ownerPubkey,
|
|
249
249
|
activePublicKey: n == null ? void 0 : n.activePubkey,
|
|
250
250
|
postingPublicKey: n == null ? void 0 : n.postingPubkey,
|
|
251
251
|
memoPublicKey: n == null ? void 0 : n.memoPubkey,
|
|
252
252
|
...Array.from((t == null ? void 0 : t.entries()) ?? []).reduce(
|
|
253
|
-
(i, [
|
|
253
|
+
(i, [a, c]) => ({
|
|
254
254
|
...i,
|
|
255
|
-
[
|
|
255
|
+
[a]: c.address
|
|
256
256
|
}),
|
|
257
257
|
{}
|
|
258
258
|
)
|
|
@@ -261,103 +261,95 @@ function M(e) {
|
|
|
261
261
|
})
|
|
262
262
|
});
|
|
263
263
|
}
|
|
264
|
+
function T() {
|
|
265
|
+
return m({
|
|
266
|
+
mutationKey: ["ecency-wallets", "check-wallet-existence"],
|
|
267
|
+
mutationFn: async ({ address: e, currency: t }) => (await (await fetch(
|
|
268
|
+
g.privateApiHost + "/private-api/wallets-exist",
|
|
269
|
+
{
|
|
270
|
+
method: "POST",
|
|
271
|
+
headers: {
|
|
272
|
+
"Content-Type": "application/json"
|
|
273
|
+
},
|
|
274
|
+
body: JSON.stringify({
|
|
275
|
+
address: e,
|
|
276
|
+
token: t
|
|
277
|
+
})
|
|
278
|
+
}
|
|
279
|
+
)).json()).length === 0
|
|
280
|
+
});
|
|
281
|
+
}
|
|
264
282
|
const ue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
265
283
|
__proto__: null,
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
"m/86'/0'/0'/0"
|
|
279
|
-
// XVerse wallet – Taproot
|
|
280
|
-
],
|
|
281
|
-
[o.ETH]: ["m/44'/60'/0'/0/0"],
|
|
282
|
-
[o.SOL]: ["m/44'/501'/0'/0'"],
|
|
283
|
-
[o.TRON]: ["m/44'/195'/0'/0/0"],
|
|
284
|
-
[o.APT]: ["m/44'/637'/0'/0'/0'"],
|
|
285
|
-
[o.TON]: ["m/44'/607'/0'"],
|
|
286
|
-
[o.ATOM]: ["m/44'/118'/0'/0/0"]
|
|
287
|
-
}, F = {
|
|
288
|
-
[o.BTC]: [
|
|
289
|
-
"",
|
|
290
|
-
// legacy
|
|
291
|
-
"segwit_native",
|
|
292
|
-
"segwite_nested",
|
|
293
|
-
"segwit_taproot"
|
|
294
|
-
],
|
|
295
|
-
[o.ETH]: [void 0],
|
|
296
|
-
[o.SOL]: [void 0],
|
|
297
|
-
[o.TRON]: [void 0],
|
|
298
|
-
[o.APT]: [void 0],
|
|
299
|
-
[o.TON]: [void 0],
|
|
300
|
-
[o.ATOM]: [void 0]
|
|
284
|
+
useCheckWalletExistence: T,
|
|
285
|
+
useCreateAccountWithWallets: L
|
|
286
|
+
}, Symbol.toStringTag, { value: "Module" })), F = {
|
|
287
|
+
[o.BTC]: ["m/84'/0'/0'/0/0"],
|
|
288
|
+
[o.ETH]: ["m/84'/60'/0'/0/0"],
|
|
289
|
+
// its not working for Trust, Exodus, todo: check others below
|
|
290
|
+
[o.SOL]: ["m/84'/501'/0'/0/0"],
|
|
291
|
+
[o.TRON]: ["m/84'/195'/0'/0/0"],
|
|
292
|
+
[o.APT]: ["m/84'/637'/0'/0/0"],
|
|
293
|
+
[o.TON]: [],
|
|
294
|
+
// Disabled
|
|
295
|
+
[o.ATOM]: ["m/84'/118'/0'/0'/0"]
|
|
301
296
|
};
|
|
302
|
-
async function
|
|
303
|
-
for (const r of
|
|
297
|
+
async function M(e, t, n) {
|
|
298
|
+
for (const r of F[n] || [])
|
|
304
299
|
try {
|
|
305
|
-
const
|
|
300
|
+
const s = await t.getDerivedPrivateKey({
|
|
306
301
|
mnemonic: e,
|
|
307
302
|
hdPath: r
|
|
303
|
+
}), i = await t.getNewAddress({
|
|
304
|
+
privateKey: s,
|
|
305
|
+
addressType: "segwit_native"
|
|
308
306
|
});
|
|
309
|
-
|
|
310
|
-
if ((await n.getNewAddress({
|
|
311
|
-
privateKey: i,
|
|
312
|
-
addressType: s
|
|
313
|
-
})).address === t)
|
|
314
|
-
return i;
|
|
307
|
+
return [s.toString(), i.address];
|
|
315
308
|
} catch {
|
|
316
|
-
return;
|
|
309
|
+
return [];
|
|
317
310
|
}
|
|
311
|
+
return [];
|
|
318
312
|
}
|
|
319
313
|
function me(e, t) {
|
|
320
|
-
const n =
|
|
314
|
+
const n = y(), { mutateAsync: r } = T();
|
|
321
315
|
return m({
|
|
322
316
|
mutationKey: ["ecency-wallets", "import-wallet", e, t],
|
|
323
|
-
mutationFn: async ({ privateKeyOrSeed:
|
|
324
|
-
const i =
|
|
317
|
+
mutationFn: async ({ privateKeyOrSeed: s }) => {
|
|
318
|
+
const i = h(t);
|
|
325
319
|
if (!i)
|
|
326
320
|
throw new Error("Cannot find token for this currency");
|
|
327
|
-
const
|
|
328
|
-
let c
|
|
329
|
-
if (
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
else {
|
|
337
|
-
const w = await i.getNewAddress({
|
|
338
|
-
privateKey: a
|
|
339
|
-
}), f = await i.validPrivateKey({
|
|
340
|
-
privateKey: a
|
|
341
|
-
});
|
|
342
|
-
c = w.address === r && f.isValid;
|
|
343
|
-
}
|
|
344
|
-
if (!c)
|
|
321
|
+
const a = s.split(" ").length === 12;
|
|
322
|
+
let c, l = s;
|
|
323
|
+
if (a ? [l, c] = await M(
|
|
324
|
+
s,
|
|
325
|
+
i,
|
|
326
|
+
t
|
|
327
|
+
) : c = (await i.getNewAddress({
|
|
328
|
+
privateKey: s
|
|
329
|
+
})).address, !c || !s)
|
|
345
330
|
throw new Error(
|
|
346
331
|
"Private key/seed phrase isn't matching with public key or token"
|
|
347
332
|
);
|
|
333
|
+
if (!await r({
|
|
334
|
+
address: c,
|
|
335
|
+
currency: t
|
|
336
|
+
}))
|
|
337
|
+
throw new Error(
|
|
338
|
+
"This wallet has already in use by Hive account. Please, try another one"
|
|
339
|
+
);
|
|
348
340
|
return {
|
|
349
341
|
privateKey: l,
|
|
350
|
-
address:
|
|
342
|
+
address: c,
|
|
351
343
|
publicKey: ""
|
|
352
344
|
};
|
|
353
345
|
},
|
|
354
|
-
onSuccess: ({ privateKey:
|
|
346
|
+
onSuccess: ({ privateKey: s, publicKey: i, address: a }) => {
|
|
355
347
|
n.setQueryData(
|
|
356
348
|
["ecency-wallets", "wallets", e],
|
|
357
|
-
(
|
|
358
|
-
privateKey:
|
|
359
|
-
publicKey:
|
|
360
|
-
address:
|
|
349
|
+
(c) => new Map(c ? Array.from(c.entries()) : []).set(t, {
|
|
350
|
+
privateKey: s,
|
|
351
|
+
publicKey: i,
|
|
352
|
+
address: a,
|
|
361
353
|
username: e,
|
|
362
354
|
currency: t,
|
|
363
355
|
custom: !0
|
|
@@ -369,13 +361,13 @@ function me(e, t) {
|
|
|
369
361
|
export {
|
|
370
362
|
o as EcencyWalletCurrency,
|
|
371
363
|
ue as EcencyWalletsPrivateApi,
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
364
|
+
x as delay,
|
|
365
|
+
h as getWallet,
|
|
366
|
+
ce as mnemonicToSeedBip39,
|
|
375
367
|
le as useCoinGeckoPriceQuery,
|
|
376
|
-
|
|
377
|
-
|
|
368
|
+
ie as useGetExternalWalletBalanceQuery,
|
|
369
|
+
q as useHiveKeysQuery,
|
|
378
370
|
me as useImportWallet,
|
|
379
|
-
|
|
371
|
+
f as useSeedPhrase,
|
|
380
372
|
pe as useWalletCreate
|
|
381
373
|
};
|