"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PrivateKey = void 0;
const crypto_identities_1 = require("@arkecosystem/crypto-identities");
const helpers_1 = require("./helpers");
class PrivateKey {
    static fromPassphrase(passphrase) {
        return crypto_identities_1.PrivateKey.fromPassphrase(passphrase);
    }
    static fromWIF(wif, network) {
        return crypto_identities_1.PrivateKey.fromWIF(wif, { wif: helpers_1.getWifFromNetwork(network) });
    }
}
exports.PrivateKey = PrivateKey;
//# sourceMappingURL=private-key.js.map