UNPKG

@provablehq/sdk

Version:

A Software Development Kit (SDK) for Zero-Knowledge Transactions

35 lines (34 loc) 1.1 kB
import { VerifyingKey } from "./wasm.js"; export declare const KEY_STORE: string; export interface Key { name: string; locator: string; prover: string; verifier: string; verifyingKey: () => VerifyingKey; } export declare const CREDITS_PROGRAM_KEYS: { bond_public: Key; bond_validator: Key; claim_unbond_public: Key; fee_private: Key; fee_public: Key; inclusion: Key; join: Key; set_validator_state: Key; split: Key; transfer_private: Key; transfer_private_to_public: Key; transfer_public: Key; transfer_public_as_signer: Key; transfer_public_to_private: Key; unbond_public: Key; getKey: (key: string) => Key; }; export declare const PRIVATE_TRANSFER_TYPES: Set<string>; export declare const VALID_TRANSFER_TYPES: Set<string>; export declare const PRIVATE_TRANSFER: Set<string>; export declare const PRIVATE_TO_PUBLIC_TRANSFER: Set<string>; export declare const PUBLIC_TRANSFER: Set<string>; export declare const PUBLIC_TRANSFER_AS_SIGNER: Set<string>; export declare const PUBLIC_TO_PRIVATE_TRANSFER: Set<string>;