UNPKG

navio-blsct

Version:

TypeScript bindings for the `libblsct` library used by the [Navio](https://nav.io/) blockchain to construct confidential transactions based on the BLS12-381 curve.

15 lines (14 loc) 457 B
import { ManagedObj } from './managedObj'; import { Scalar } from './scalar'; export declare class Point extends ManagedObj { constructor(obj?: any); value(): any; static random(): Point; static base(): Point; static fromScalar(scalar: Scalar): Point; isValid(): boolean; toString(): string; equals(other: Point): boolean; serialize(): string; static deserialize(this: new (obj: any) => Point, hex: string): Point; }