Skip to main content
Supports EIP-4337 and EIP-7702. The default mode is 4337. Use the package root import:
EIP-7702 rejects an external WalletClient signer. factoryAddress and accountAddress apply only to 4337.
The returned account exposes the shared sendTransaction and sendBatchTransaction methods. In EIP-7702 mode, keep sponsorGas: true. The current implementation rejects non-sponsored transaction submission.