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.

13 lines (12 loc) 613 B
import { ManagedObj } from '../managedObj'; import { PublicKey } from './publicKey'; import { ViewKey } from './childKeyDesc/txKeyDesc/viewKey'; export declare class DoublePublicKey extends ManagedObj { constructor(obj?: any); static random(): DoublePublicKey; static fromPublicKeys(pk1: PublicKey, pk2: PublicKey): DoublePublicKey; static fromKeysAndAcctAddr(viewKey: ViewKey, spendingPubKey: PublicKey, account: number, address: number): DoublePublicKey; value(): any; serialize(): string; static deserialize(this: new (obj: any) => DoublePublicKey, hex: string): DoublePublicKey; }