In a current proposal, distinguished Ethereum builders, together with Vitalik Buterin, Sam Wilson, Ansgar Dietrichs, and Matt Garnett, steered a brand new transaction sort to boost Externally Owned Accounts (EOAs).
The proposal, at the moment in draft standing, outlines the creation of a brand new transaction sort that briefly converts EOAs into good contract wallets throughout transaction execution, providing functionalities much like these outlined in EIP-3074.
In response to the draft proposal, EIP-7702 would permit for transaction batching and sponsored transactions paid for by one other account. The proposed transaction sort would come with a contract_code subject and a signature, enabling EOAs to undertake good contract functionalities briefly.
The core intention is to supply enhanced usability and safety for EOAs, addressing frequent points like batching transactions, sponsorship of transactions, and privilege de-escalation.
The usual would additionally permit for de-escalated privileges by enabling customers to signal subkeys with restricted permissions. For instance, a pockets administrator might permit subkey holders to spend solely ERC-20 tokens, use solely a part of a pockets steadiness, or entry choose purposes.
Different to EIP-3074
The draft proposal supplies a substitute for EIP-3074, an present commonplace that gives most of the identical capabilities.
Nonetheless, EIP-7702 goals to handle forward-compatibility points. Not like EIP-3074, it doesn’t introduce opcodes, which might supposedly turn out to be out of date in an “endgame account abstraction” the place all customers use good contract wallets.
Buterin and co-proposers imagine endgame account abstraction is probably going when quantum computing breaks the cryptography utilized in commonplace Externally Owned Accounts (EOAs) or commonplace user-controlled Ethereum wallets.
EIP-3074 might additionally create an invoker contract ecosystem separate from the good contract pockets ecosystem. With EIP-7702, the proposers purpose to keep away from a division of efforts.
Regardless of its potential advantages, Buterin famous that EIP-7702 would possibly face comparable criticism as its counterpart, because it requires belief in code and will result in centralization. He believes that any proposal to deal with privilege de-escalation faces the identical problem.
Ongoing developments
EIP-7702 is at the moment within the draft stage, and its future is unclear.
Nonetheless, builders intend to incorporate EIP-3074 in Ethereum’s subsequent improve, Pectra, in late 2024 or early 2025.
One other associated commonplace, ERC-4337, supplies account abstraction options with comparable purposes, together with group-access wallets and bundled and sponsored transactions. Builders deployed the usual to Ethereum in March 2023.
Collectively, such requirements permit companies to manage consumer wallets with out sustaining direct custody of consumer funds, offering a key various to totally centralized companies.