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.
17 lines (16 loc) • 655 B
TypeScript
import { ManagedObj } from '../managedObj';
import { Point } from '../point';
import { Scalar } from '../scalar';
import { ViewKey } from './childKeyDesc/txKeyDesc/viewKey';
export declare class PublicKey extends ManagedObj {
constructor(obj?: any);
getPoint(): Point;
static random(): PublicKey;
static fromPoint(point: Point): PublicKey;
static fromScalar(scalar: Scalar): PublicKey;
static generateNonce(blindingPubKey: PublicKey, viewKey: ViewKey): PublicKey;
equals(other: PublicKey): boolean;
value(): any;
serialize(): string;
static deserialize(this: new (obj: any) => PublicKey, hex: string): PublicKey;
}