Smart Accounts
Effortlessly create and manage smart accounts for your users with just a few lines of code, using our Smart Account feature. Smart accounts offer enhanced control and programmability, enabling powerful features that traditional wallets can't provide.
Key features of Smart Accounts include:
- Gas Abstraction: Cover transaction fees for users, or allow users to pay for their own transactions using ERC-20 tokens.
- Batch Transactions: Perform multiple transactions in a single call.
- Automated Transactions: Allow users to automate actions, like swapping ETH to USDT when ETH hits a specific price.
- Custom Spending Limits: Allow users to set tailored spending limits.
For more information about ERC-4337 and its components, check out our detailed blog post.
Our smart account integration streamlines your setup, allowing you to create and manage smart accounts using your favorite libraries like Viem, Ethers, and Wagmi. You don't need to rely on third-party packages to effortlessly create ERC-4337 compatible Smart Contract Wallets (SCWs), giving users the ability to perform batch transactions and efficiently manage gas sponsorship.
This is a paid feature and the minimum pricing plan to use this SDK in a production environment is the Growth Plan. You can use this feature in Web3Auth Sapphire Devnet network for free.
Enabling Smart Accounts
To enable this feature, you need to configure Smart Accounts from your project in the Web3Auth Developer Dashboard.
Dashboard Configuration
To enable Smart Accounts, navigate to the Smart Accounts section in the Web3Auth dashboard, and enable the "Set up Smart Accounts" toggle. Web3Auth currently supports MetaMaskSmartAccount as a Smart Account provider.

Wallet Configuration
Once Smart Accounts are enabled, you can customize the wallet configurations:
- All supported wallets (default): Allows users to create Smart Accounts using both embedded and external wallets.
- Embedded wallets only: Restricts Smart Account creation to only embedded wallets.