@heliuslabs/spr - v0.9.0-alpha
    Preparing search index...

    Class LocalKeys

    A wallet's privacy roles held in-process. Answers ShieldedKeys from the viewing and nullifier keys and ProofAuthority by completing the proof inputs with the nullifier secret and forwarding them to the prover, the same two things an enclave-backed implementation does behind its transport. Application code takes WalletKeys and never learns which one it holds.

    Implements

    Index
    • derivationSeed is the Solana wallet's signature over its derivation message.

      Parameters

      • input: Readonly<{ solanaPublicKey: Address; derivationSeed: Uint8Array }>
      • proofs: ProofService

      Returns LocalKeys

    • Parameters

      Returns Promise<readonly Uint8Array<ArrayBufferLike>[]>