Skip to content

@lelantos-org/sdk / index / ProverOption

Type Alias: ProverOption ​

ts
type ProverOption = 
  | Prover
  | ProverConfig
  | "none";

Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:114

How proofs are made.

  • a Prover: used as-is and owned by the caller: neither wallet.dispose() nor a failed connect disposes it, so one prover (e.g. a tab-wide WorkerProver) can serve many wallets;
  • a ProverConfig: the SDK builds one (default { warmup: "lazy" }) and disposes it with the wallet;
  • "none": no prover; spends reject PROVER_UNAVAILABLE and capabilities.prove is false.