Remote Signer Module
This module provides functionality to sign user operations using a remote signer. It includes the following key components:Types
RemoteSignerParams: Defines the parameters required to create a remote signer.Functions
signUserOp: Signs a user operation using the session key.toRemoteSigner: Converts a local account to an extended local account with remote signing capabilities.
signUserOperation: Signs a user operation using the remote signer.
Pre-requisites for using a sessionKey in remote-signing
- EtherspotWallet account should have SessionKeyValidator module installed.
- SessionKeyValidator varies with the kind of operation performed, i.e there can be multiple kinds of SessionKeyValidator and the nonce to be used as part of userOp is generated from the address of
SessionKeyValidator
ERC20SessionKeyValidator
module
Nonce used during the UserOp Estimation is to be from: