Account Abstraction (ERC-4337)
Account Abstraction (ERC-4337) 是什么?
Account Abstraction (ERC-4337)An Ethereum standard that replaces externally-owned accounts with smart-contract wallets able to express arbitrary signing logic — social recovery, session keys, sponsored gas, multi-factor approval — without Layer 1 protocol changes.
ERC-4337 (Account Abstraction Using Alt Mempool), authored by Vitalik Buterin and others and deployed to Ethereum mainnet in March 2023, lets users hold funds and submit transactions through smart-contract wallets rather than externally-owned accounts (EOAs) — without requiring any consensus-layer change. Instead of an EOA signing a transaction with a single private key, an ERC-4337 'UserOperation' is constructed by the user's smart-contract wallet, bundled by a 'bundler' off-chain, and submitted to a global EntryPoint contract that executes the wallet's `validateUserOp` and then the user's intent. Because validation is fully programmable, wallets can implement social recovery (M-of-N guardians), session keys (a time- and contract-scoped key for game sessions), passkey-backed signatures via WebAuthn, sponsored gas payments by paymasters, and intent-based DSLs. Major wallet vendors (Safe, Argent, Biconomy, ZeroDev, Coinbase Smart Wallet) ship 4337 stacks; ERC-7702 (2024) adds a complementary EOA→smart-contract delegation mechanism. From a security perspective, AA dramatically changes the threat model: phishing now also targets `executeBatch` calldata, session-key abuse, and paymaster-griefing rather than just `permit` signatures.
● 示例
- 01
A new wallet uses ERC-4337 to give users WebAuthn passkey signing plus a 7-of-12 social-recovery guardian set, eliminating the seed-phrase paradigm.
- 02
A Web3 game grants the user a 24-hour session key scoped to its game contract; the user signs in-game moves without confirming each transaction in their main wallet.
● 常见问题
Account Abstraction (ERC-4337) 是什么?
An Ethereum standard that replaces externally-owned accounts with smart-contract wallets able to express arbitrary signing logic — social recovery, session keys, sponsored gas, multi-factor approval — without Layer 1 protocol changes. 它属于网络安全的 Web3 与区块链 分类。
Account Abstraction (ERC-4337) 是什么意思?
An Ethereum standard that replaces externally-owned accounts with smart-contract wallets able to express arbitrary signing logic — social recovery, session keys, sponsored gas, multi-factor approval — without Layer 1 protocol changes.
Account Abstraction (ERC-4337) 是如何工作的?
ERC-4337 (Account Abstraction Using Alt Mempool), authored by Vitalik Buterin and others and deployed to Ethereum mainnet in March 2023, lets users hold funds and submit transactions through smart-contract wallets rather than externally-owned accounts (EOAs) — without requiring any consensus-layer change. Instead of an EOA signing a transaction with a single private key, an ERC-4337 'UserOperation' is constructed by the user's smart-contract wallet, bundled by a 'bundler' off-chain, and submitted to a global EntryPoint contract that executes the wallet's `validateUserOp` and then the user's intent. Because validation is fully programmable, wallets can implement social recovery (M-of-N guardians), session keys (a time- and contract-scoped key for game sessions), passkey-backed signatures via WebAuthn, sponsored gas payments by paymasters, and intent-based DSLs. Major wallet vendors (Safe, Argent, Biconomy, ZeroDev, Coinbase Smart Wallet) ship 4337 stacks; ERC-7702 (2024) adds a complementary EOA→smart-contract delegation mechanism. From a security perspective, AA dramatically changes the threat model: phishing now also targets `executeBatch` calldata, session-key abuse, and paymaster-griefing rather than just `permit` signatures.
如何防御 Account Abstraction (ERC-4337)?
针对 Account Abstraction (ERC-4337) 的防御通常结合技术控制与运营实践,详见上方完整定义。
Account Abstraction (ERC-4337) 还有哪些其他名称?
常见的别称包括: ERC-4337, Account abstraction, Smart-contract wallet。
● 相关术语
- web3№ 1171
智能合约安全
通过设计、审查和运维链上程序,防止其被利用以盗取资金、冻结逻辑或违反业务规则的实践。
- web3№ 1170
智能合约审计
由独立第三方对智能合约源代码、部署配置与经济设计进行的安全评审,通常在上线或升级前完成。
- identity-access№ 888
通行密钥 (Passkey)
一种抗钓鱼的 FIDO2/WebAuthn 凭据,使用绑定设备或可同步的非对称密钥对,以加密挑战-响应取代密码。
- web3№ 517
硬件钱包
一种专用物理设备,在防篡改的安全单元中存储加密货币私钥,并在离线环境下完成交易签名。
- web3№ 794
多签钱包
需要 n 把独立密钥中的 m 把共同签名才能授权交易的加密货币钱包,使单一密钥泄露不再致命。
- web3№ 1155
Signature Phishing (Web3)
A Web3 phishing pattern that tricks a user into signing an EIP-712 or `personal_sign` message that authorizes the attacker to move tokens, transfer NFTs, or take wallet actions — without ever asking for a seed phrase.
● 参见
- № 413EIP-712 Signing