kernl API
    Preparing search index...

    Function wrapAccountSigner

    • Wrap an account as the NIP-07-shaped signer kehto expects.

      The account itself is never handed over: kehto sees four methods and the encryption namespaces the account exposes, nothing that reveals key material.

      Parameters

      • account: IAccount

        The active applesauce account.

      Returns Signer

      A kehto Signer.

      const signer = wrapAccountSigner(account);
      await signer.signEvent?.(template);