UNPKG

418 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3const keys_1 = require("./keys");
4class PrivateKey {
5 static fromPassphrase(passphrase) {
6 return keys_1.Keys.fromPassphrase(passphrase).privateKey;
7 }
8 static fromWIF(wif, network) {
9 return keys_1.Keys.fromWIF(wif, network).privateKey;
10 }
11}
12exports.PrivateKey = PrivateKey;
13//# sourceMappingURL=private-key.js.map
\No newline at end of file