UNPKG

@runonflux/aa-schnorr-multisig-sdk

Version:

Account Abstraction Schnorr Multi-Signatures SDK

16 lines (15 loc) 339 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Key = void 0; class Key { constructor(buffer) { this.buffer = buffer; } toHex() { return this.buffer.toString("hex"); } static fromHex(hex) { return new Key(Buffer.from(hex, "hex")); } } exports.Key = Key;