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.

14 lines (13 loc) 614 B
import { PublicKey } from './keys/publicKey'; import { DoublePublicKey } from './keys/doublePublicKey'; import { ViewKey } from './keys/childKeyDesc/txKeyDesc/viewKey'; import { ManagedObj } from './managedObj'; import { SubAddrId } from './subAddrId'; export declare class SubAddr extends ManagedObj { constructor(obj: any); static generate(viewKey: ViewKey, spendingPubKey: PublicKey, subAddrId: SubAddrId): SubAddr; static fromDoublePublicKey(dpk: DoublePublicKey): SubAddr; value(): any; serialize(): string; static deserialize(this: new (obj: any) => SubAddr, hex: string): SubAddr; }