UNPKG

chaingate

Version:

A complete TypeScript library for connecting to and making transactions on different blockchains

15 lines 440 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ExtendedPrivateKey = void 0; const bip32_1 = require("@scure/bip32"); class ExtendedPrivateKey { get raw() { return bip32_1.HDKey.fromExtendedKey(this.xpriv).privateKey; } xpriv; constructor(xpriv) { this.xpriv = xpriv; } } exports.ExtendedPrivateKey = ExtendedPrivateKey; //# sourceMappingURL=ExtendedPrivateKey.js.map