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.
11 lines (10 loc) • 331 B
TypeScript
import { ManagedObj } from './managedObj';
export declare class Scalar extends ManagedObj {
constructor(obj?: any);
value(): any;
static random(): Scalar;
toNumber(): number;
equals(other: Scalar): boolean;
serialize(): string;
static deserialize(this: new (obj: any) => Scalar, hex: string): Scalar;
}