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.
The active applesauce account.
A kehto Signer.
Signer
const signer = wrapAccountSigner(account);await signer.signEvent?.(template); Copy
const signer = wrapAccountSigner(account);await signer.signEvent?.(template);
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.