In a current proposal, outstanding Ethereum builders, together with Vitalik Buterin, Sam Wilson, Ansgar Dietrichs, and Matt Garnett, prompt a brand new transaction kind to boost Externally Owned Accounts (EOAs).
The proposal, at the moment in draft standing, outlines the creation of a brand new transaction kind that briefly converts EOAs into good contract wallets throughout transaction execution, providing functionalities just like these outlined in EIP-3074.
In keeping with the draft proposal, EIP-7702 would permit for transaction batching and sponsored transactions paid for by one other account. The proposed transaction kind would come with a contract_code discipline and a signature, enabling EOAs to undertake good contract functionalities briefly.
The core intention is to supply enhanced usability and safety for EOAs, addressing widespread 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 stability, or entry choose purposes.
Different to EIP-3074
The draft proposal supplies a substitute for EIP-3074, an present customary that gives most of the identical capabilities.
Nevertheless, EIP-7702 goals to handle forward-compatibility points. In contrast to EIP-3074, it doesn’t introduce opcodes, which might supposedly develop into 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 customary Externally Owned Accounts (EOAs) or customary 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 goal to keep away from a division of efforts.
Regardless of its potential advantages, Buterin famous that EIP-7702 may face related 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.
Nevertheless, builders intend to incorporate EIP-3074 in Ethereum’s subsequent improve, Pectra, in late 2024 or early 2025.
One other associated customary, ERC-4337, supplies account abstraction options with related purposes, together with group-access wallets and bundled and sponsored transactions. Builders deployed the usual to Ethereum in March 2023.
Collectively, such requirements permit providers to manage consumer wallets with out sustaining direct custody of consumer funds, offering a key various to totally centralized providers.