/** * Represents a Bulletproof proof */ export type crypto_bulletproof_t = { A: string; S: string; T1: string; T2: string; taux: string; mu: string; L: string[]; R: string[]; g: string; h: string; t: string; }; /** * Represents a Bulletproof+ proof */ export type crypto_bulletproof_plus_t = { A: string; A1: string; B: string; r1: string; s1: string; d1: string; L: string[]; R: string[]; }; /** * Represents a Borromean signature */ export type crypto_borromean_signature_t = { signatures: string[]; }; /** * Represents a CLSAG signature */ export type crypto_clsag_signature_t = { scalars: string[]; challenge: string; commitment_image?: string; pseudo_commitment?: string; }; /** * Represents a Triptych signature */ export type crypto_triptych_signature_t = { commitment_image: string; pseudo_commitment: string; A: string; B: string; C: string; D: string; X: string[]; Y: string[]; f: string[][]; zA: string; zC: string; z: string; }; /** * Represents cryptographic entropy */ export type crypto_entropy_t = { /** * The raw entropy encoded as a hexadecimal string */ entropy: string; /** * The UNIX timestamp that the entropy was created (if properly stored within the `entropy`) */ timestamp: number; /** * The mnemonic phrase that represents the `entropy` */ mnemonic_phrase: string; }; /** * Represents a public/secret key pair */ export type key_pair_t = { /** * The public key */ public_key: string; /** * The secret key (scalar) */ secret_key: string; /** * The ED25519 private key per RFC-8032 (only returned when generating child keys) */ private_key?: string; };