Simple 7702 Account
The Simple7702Account is a fully audited minimalist smart contract account that can be safely authorized by any EOA. It adds full support for major smart account features like batching and gas sponsorship.
Simple7702Accountin AbstractionKit supports EntryPoint v0.8.Simple7702AccountV09in AbstractionKit supports EntryPoint v0.9.
The following ERCs are supported:
- ERC-165
- ERC-721
- ERC-1155
- ERC-1271
- ERC-4337
When to Use Simple 7702 Account
- You need a straightforward EOA upgrade with minimal overhead
- Single signer (EOA private key) is sufficient
- You don't need key management, passkey support, or per-key hooks
- Lightweight: fewer methods, simpler API surface
- Audited by Spearbit (v0.8) and Cantina (v0.9)
For multi-key support, passkeys, or per-key hooks, see Calibur Account.
Import
EntryPoint v0.8
import { Simple7702Account } from "abstractionkit";
EntryPoint v0.9
import { Simple7702AccountV09 } from "abstractionkit";
How to Use
AbstractionKit classes are designed to support the same methods across both versions, ensuring compatibility within the essential classes. This allows developers to upgrade seamlessly without breaking functionality or requiring significant code changes.
const delegatorPublicAddress = "0xBdbc5FBC9cA8C3F514D073eC3de840Ac84FC6D31"; // EOA public key
const smartAccount = new Simple7702Account(delegatorPublicAddress);