Documentation
    Preparing search index...

    A transport- and provider-agnostic zkLogin signer.

    It wraps any ephemeral Signer and, for every signing operation, transforms the ephemeral signature into a zkLogin signature using the supplied proof inputs and maxEpoch. Because every signing method on Signer funnels through signWithIntent, overriding that single method is enough to cover signTransaction, signPersonalMessage, and signAndExecuteTransaction.

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    • Parameters

      • _data: Uint8Array

      Returns never

    • Signs provided personal message by calling signWithIntent() with a PersonalMessage provided as intent scope

      Parameters

      • bytes: Uint8Array

      Returns Promise<{ bytes: string; signature: string }>

    • Signs provided transaction by calling signWithIntent() with a TransactionData provided as intent scope

      Parameters

      • bytes: Uint8Array

      Returns Promise<SignatureWithBytes>

    • The single extension point: the ephemeral signature is produced with the requested intent and then wrapped in a zkLogin signature.

      Parameters

      Returns Promise<SignatureWithBytes>

    • Returns string