generateNewKey
Generates a new private key and stores it in the storage.
Import
import { SessionKeySigner } from "@account-kit/smart-contracts";
Usage
import { SessionKeySigner } from "@account-kit/smart-contracts";
const signer = new SessionKeySigner();
const newSessionKey = signer.generateNewKey();
Returns
Address
The public address of the new key.