What problem does it solve?
Developers building ERC-4337 account abstraction applications in .NET need to execute multiple contract calls atomically in a single UserOperation and sponsor gas fees so end users do not need ETH, which requires coordinating batching APIs and paymaster configurations correctly.
Core Features & Use Cases
- Atomic Batching: Combine multiple calls (approve + swap, multi-transfer) into one UserOperation using BatchExecuteAsync, ToBatchCall, or ERC-7579 ExecuteBatchAsync.
- Gas Sponsorship: Configure simple, verifying, deposit, or dynamic paymasters via WithPaymaster and PaymasterConfig so users transact gaslessly.
- Use Case: A dApp wants users to approve a token and swap it on a DEX in one click without holding ETH. Batch the approve and swap calls, then attach a verifying paymaster that signs each UserOperation so the paymaster covers gas.
Quick Start
Use the aa-batching-paymasters skill to batch an ERC-20 approve and a DEX swap into a single UserOperation with a verifying paymaster sponsoring the gas.