@ecency/wallets 1.0.16 → 1.0.17
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.
|
@@ -29,11 +29,11 @@ export declare interface EcencyHiveKeys {
|
|
|
29
29
|
export declare enum EcencyWalletCurrency {
|
|
30
30
|
BTC = "btc",
|
|
31
31
|
ETH = "eth",
|
|
32
|
-
APT = "
|
|
32
|
+
APT = "aptos",
|
|
33
33
|
ATOM = "cosmos",
|
|
34
34
|
TON = "ton",
|
|
35
35
|
TRON = "tron",
|
|
36
|
-
SOL = "
|
|
36
|
+
SOL = "solana"
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
declare namespace EcencyWalletsPrivateApi {
|
|
@@ -10,7 +10,7 @@ import { AptosWallet as D } from "@okxweb3/coin-aptos";
|
|
|
10
10
|
import K, { mnemonicToSeedSync as _ } from "bip39";
|
|
11
11
|
import { LRUCache as H } from "lru-cache";
|
|
12
12
|
import { PrivateKey as u } from "@hiveio/dhive";
|
|
13
|
-
var o = /* @__PURE__ */ ((e) => (e.BTC = "btc", e.ETH = "eth", e.APT = "
|
|
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
14
|
function j(e) {
|
|
15
15
|
return new Promise((t) => setTimeout(t, e));
|
|
16
16
|
}
|
|
@@ -182,13 +182,13 @@ const W = {
|
|
|
182
182
|
// Bitcoin (BIP44)
|
|
183
183
|
[o.ETH]: "m/44'/60'/0'/0/0",
|
|
184
184
|
// Ethereum (BIP44)
|
|
185
|
-
[o.SOL]: "m/44'/501'/0'/0
|
|
185
|
+
[o.SOL]: "m/44'/501'/0'/0'",
|
|
186
186
|
// Solana (BIP44)
|
|
187
187
|
[o.TON]: "m/44'/396'/0'/0/0",
|
|
188
188
|
// TON (BIP44)
|
|
189
189
|
[o.TRON]: "m/44'/195'/0'/0/0",
|
|
190
190
|
// Tron (BIP44)
|
|
191
|
-
[o.APT]: "m/44'/637'/0'/0/0",
|
|
191
|
+
[o.APT]: "m/44'/637'/0'/0'/0'",
|
|
192
192
|
// Aptos (BIP44)
|
|
193
193
|
[o.ATOM]: "m/44'/118'/0'/0/0"
|
|
194
194
|
// Cosmos (BIP44)
|