ecash-lib 4.0.0 → 4.0.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/consts.d.ts +2 -0
- package/dist/consts.d.ts.map +1 -1
- package/dist/consts.js +3 -1
- package/dist/consts.js.map +1 -1
- package/package.json +1 -1
- package/src/consts.ts +4 -0
package/dist/consts.d.ts
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
export declare const DEFAULT_DUST_SATS = 546n;
|
|
3
3
|
/** Default fee per kB on the eCash network. */
|
|
4
4
|
export declare const DEFAULT_FEE_SATS_PER_KB = 1000n;
|
|
5
|
+
/** Derivation path for non-HD token aware XEC wallets, like ecash-wallet or Cashtab */
|
|
6
|
+
export declare const XEC_TOKEN_AWARE_DERIVATION_PATH = "m/44'/1899'/0'/0/0";
|
|
5
7
|
/**
|
|
6
8
|
* Confirmations required before coinbase utxos
|
|
7
9
|
* are spendable
|
package/dist/consts.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../src/consts.ts"],"names":[],"mappings":"AAIA,+CAA+C;AAC/C,eAAO,MAAM,iBAAiB,OAAO,CAAC;AACtC,+CAA+C;AAC/C,eAAO,MAAM,uBAAuB,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../src/consts.ts"],"names":[],"mappings":"AAIA,+CAA+C;AAC/C,eAAO,MAAM,iBAAiB,OAAO,CAAC;AACtC,+CAA+C;AAC/C,eAAO,MAAM,uBAAuB,QAAQ,CAAC;AAE7C,uFAAuF;AACvF,eAAO,MAAM,+BAA+B,uBAAuB,CAAC;AAEpE;;;;;;;;;GASG;AACH,eAAO,MAAM,iBAAiB,MAAM,CAAC;AACrC;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB,MAAM,CAAC"}
|
package/dist/consts.js
CHANGED
|
@@ -3,11 +3,13 @@
|
|
|
3
3
|
// Distributed under the MIT software license, see the accompanying
|
|
4
4
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.OP_RETURN_MAX_BYTES = exports.COINBASE_MATURITY = exports.DEFAULT_FEE_SATS_PER_KB = exports.DEFAULT_DUST_SATS = void 0;
|
|
6
|
+
exports.OP_RETURN_MAX_BYTES = exports.COINBASE_MATURITY = exports.XEC_TOKEN_AWARE_DERIVATION_PATH = exports.DEFAULT_FEE_SATS_PER_KB = exports.DEFAULT_DUST_SATS = void 0;
|
|
7
7
|
/** Default dust limit on the eCash network. */
|
|
8
8
|
exports.DEFAULT_DUST_SATS = 546n;
|
|
9
9
|
/** Default fee per kB on the eCash network. */
|
|
10
10
|
exports.DEFAULT_FEE_SATS_PER_KB = 1000n;
|
|
11
|
+
/** Derivation path for non-HD token aware XEC wallets, like ecash-wallet or Cashtab */
|
|
12
|
+
exports.XEC_TOKEN_AWARE_DERIVATION_PATH = `m/44'/1899'/0'/0/0`;
|
|
11
13
|
/**
|
|
12
14
|
* Confirmations required before coinbase utxos
|
|
13
15
|
* are spendable
|
package/dist/consts.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consts.js","sourceRoot":"","sources":["../src/consts.ts"],"names":[],"mappings":";AAAA,4CAA4C;AAC5C,mEAAmE;AACnE,sEAAsE;;;AAEtE,+CAA+C;AAClC,QAAA,iBAAiB,GAAG,IAAI,CAAC;AACtC,+CAA+C;AAClC,QAAA,uBAAuB,GAAG,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"consts.js","sourceRoot":"","sources":["../src/consts.ts"],"names":[],"mappings":";AAAA,4CAA4C;AAC5C,mEAAmE;AACnE,sEAAsE;;;AAEtE,+CAA+C;AAClC,QAAA,iBAAiB,GAAG,IAAI,CAAC;AACtC,+CAA+C;AAClC,QAAA,uBAAuB,GAAG,KAAK,CAAC;AAE7C,uFAAuF;AAC1E,QAAA,+BAA+B,GAAG,oBAAoB,CAAC;AAEpE;;;;;;;;;GASG;AACU,QAAA,iBAAiB,GAAG,GAAG,CAAC;AACrC;;;;;;;GAOG;AACU,QAAA,mBAAmB,GAAG,GAAG,CAAC"}
|
package/package.json
CHANGED
package/src/consts.ts
CHANGED
|
@@ -6,6 +6,10 @@
|
|
|
6
6
|
export const DEFAULT_DUST_SATS = 546n;
|
|
7
7
|
/** Default fee per kB on the eCash network. */
|
|
8
8
|
export const DEFAULT_FEE_SATS_PER_KB = 1000n;
|
|
9
|
+
|
|
10
|
+
/** Derivation path for non-HD token aware XEC wallets, like ecash-wallet or Cashtab */
|
|
11
|
+
export const XEC_TOKEN_AWARE_DERIVATION_PATH = `m/44'/1899'/0'/0/0`;
|
|
12
|
+
|
|
9
13
|
/**
|
|
10
14
|
* Confirmations required before coinbase utxos
|
|
11
15
|
* are spendable
|