chaingate
Version:
A complete TypeScript library for connecting to and making transactions on different blockchains
15 lines • 429 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ExtendedPublicKey = void 0;
const bip32_1 = require("@scure/bip32");
class ExtendedPublicKey {
get raw() {
return bip32_1.HDKey.fromExtendedKey(this.xpub).publicKey;
}
xpub;
constructor(xpub) {
this.xpub = xpub;
}
}
exports.ExtendedPublicKey = ExtendedPublicKey;
//# sourceMappingURL=ExtendedPublicKey.js.map