@bsv/sdk
Version:
BSV Blockchain Software Development Kit
19 lines • 648 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const Curve_js_1 = __importDefault(require("./Curve.js"));
/**
* Base class for Point (affine coordinates) and JacobianPoint classes,
* defining their curve and type.
*/
class BasePoint {
constructor(type) {
this.curve = new Curve_js_1.default(); // Always initialized, so never null
this.type = type;
this.precomputed = null;
}
}
exports.default = BasePoint;
//# sourceMappingURL=BasePoint.js.map