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.

12 lines (11 loc) 483 B
import { ManagedObj } from './managedObj'; import { PublicKey } from './keys/publicKey'; import { ViewKey } from './keys/childKeyDesc/txKeyDesc/viewKey'; export declare class HashId extends ManagedObj { constructor(obj?: any); static generate(blindingPubKey: PublicKey, spendingPubKey: PublicKey, viewKey: ViewKey): HashId; static random(): HashId; value(): any; serialize(): string; static deserialize(this: new (obj: any) => HashId, hex: string): HashId; }