Documentation

    TODO: Document

    Hierarchy (View Summary, Expand)

    Index

    Constructors

    • Parameters

      • privateKey: CryptoKey
      • publicKey: Uint8Array

      Returns WebCryptoSigner

    Properties

    privateKey: CryptoKey

    Methods

    • The public key for this keypair

      Returns Secp256r1PublicKey

    • Parameters

      • bytes: Uint8Array

      Returns Promise<Uint8Array<ArrayBufferLike>>

    • 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>

    • Sign messages with a specific intent. By combining the message bytes with the intent before hashing and signing, it ensures that a signed message is tied to a specific purpose and domain separator is provided

      Parameters

      Returns Promise<SignatureWithBytes>

    • Returns string

    • Parameters

      • __namedParameters: { extractable?: boolean } = {}

      Returns Promise<WebCryptoSigner>

    MMNEPVFCICPMFPCPTTAAATR