Importing Dependencies
Setup Smart Account
Gelato
, the Gelato Smart Account address will be the same as your EOA, enabling EIP-7702 features.
Kernel
Account, you have the option to use EIP-7702 and ERC-4337 together. Setting eip7702
parameter to true will make your EOA the sender address. However, if you want to utilize existing Kernel accounts only with ERC-4337 features, set it to false.
Safe
Account, it defaults to the ERC-4337 standard. You can either use an already deployed Safe Account or create a new one, while enhancing the experience with Gelato’s best-in-class infrastructure.Setup Wallet Client
createWalletClient
from viem
with local account for your specified network. Checkout supported networks here.Creating a Smart Wallet Client
Paymaster & Bundler > API Keys
section. Create a new API Key, select the required networks, and copy the generated API Key.
Sending Transactions
Batch Multiple Transactions