smartWallet

function smartWallet(
walletConfig: WalletConfig<any>,

Parameters

Type

let walletConfig: WalletConfig<any>;

Configuration options for the Smart Wallet

factoryAddress

The address of the Smart Wallet Factory contract. Must be of type string

gasless

Whether to turn on or off gasless transactions. Must be a boolean .

  • If set to true , all gas fees will be paid by a paymaster.

  • If set to false , all gas fees will be paid by the Smart Wallet itself (needs to be funded).

Type

Returns

let returnType: WalletConfig<SmartWallet>;