signMessage
Signs a message using the inner signer.
Import
import { SessionKeySigner } from "@account-kit/smart-contracts";
Usage
import { SessionKeySigner } from "@account-kit/smart-contracts";
const signer = new SessionKeySigner();
const sessionKeyAddress = await signer.signMessage("hello");
Parameters
msg
SignableMessage
The message to sign
Returns
Promise<Hex>
A promise that resolves to the signed message