Function nkeyAuthenticator

  • Returns an Authenticator that returns a NKeyAuth based that uses the specified seed or function returning a seed.

    Parameters

    • Optionalseed: Uint8Array | (() => Uint8Array)

      the nkey seed

    Returns Authenticator