Before doing anything with the SessionKeyValidatorSDK,
you must ensure that the walletPrivateKey being used must have a etherspot-modular-account.
SessionKeys can be created on an existing etherspotModularWallet with ERC20SessionKeyValidator
installed to itFor Steps to install ERC20SessionKeyValidator, please follow instructions in: install-module
- privateKey
- ChainID
- bundlerProvider
- bundlerApiKey
- customBundlerUrl (can be left empty)
- chainId : The chain ID of the blockchain.
- customBundlerUrl : The bundler you wish to use.