New to web3?
New to web3?
What is account abstraction? With account abstraction (AA), users get a smart contract wallet instead of a traditional wallet that requires a seed phrase. The wallet can be programmed to pay gas in different ways (e.g. you pay for the user).What does ZeroDev do? ZeroDev lets you sponsor gas so your users don’t pay transaction fees — your app (or a paymaster) covers the cost. Use it when you want a gasless experience for users (e.g. onboarding, free mints).When to use it: Add the ZeroDev extension when you want gasless EVM transactions and are using (or plan to use) ZeroDev in the Dynamic dashboard.
Installation
Usage
Import and calladdZerodevExtension after creating your Dynamic client:
Related functions
- createKernelClientForWalletAccount - Create a ZeroDev Kernel client
- canSponsorUserOperation - Check if a user operation can be sponsored
- estimateUserOperationGas - Estimate gas for a user operation