ts-algochat
    Preparing search index...

    Class PublicKeyCache

    In-memory cache for public keys with TTL expiration

    Index

    Constructors

    Methods

    • Retrieve a public key for an address (returns undefined if expired)

      Parameters

      • address: string

      Returns Uint8Array<ArrayBufferLike> | undefined

    • Store a public key for an address

      Parameters

      • address: string
      • key: Uint8Array

      Returns void