chaingate
Version:
A complete TypeScript library for connecting to and making transactions on different blockchains
17 lines • 485 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PublicKey = void 0;
const Utils_1 = require("../../InternalUtils/Utils");
class PublicKey {
raw;
//readonly uncompressed: Uint8Array
get hex() {
return (0, Utils_1.bytesToHex)(this.raw, false);
}
constructor(compressed) {
this.raw = compressed;
//this.uncompressed = uncompressed
}
}
exports.PublicKey = PublicKey;
//# sourceMappingURL=PublicKey.js.map