
>Source: Metacat
EIP-3074 was approved to be launched in the next Ethereum Prager.This EIP will always change the method of interacting with users on the EVM chain, making the wallet user experience simpler, cheaper, and more powerful.The following is an overview of the EIP-3074 and how it will change the rules of the game:
3074 TLDR is itEOA (ordinary wallet) smart contract function (such as account abstraction)EssenceThis includes the ability to conduct single transactions, batch transactions, wallet asset recovery, sponsorship trading (Sponsored TXS).Let’s first talk about the problem of wallets now.
The picture below is a list of wallet user experience problems. They can be solved through smart contract wallets, but this will force users to migrate their wallets, which will bring a bad user experience and cost GAS.
This is obviously not the best solution.
So how do we turn the existing EOA wallet into a smart contract wallet?
By adding two new operating codes (computer instructions):AuthandAuthcallEssenceThese two operations are coordinated, allowing smart contracts to act on behalf of EOA.The following is a quick overview of how they work (skipped if you are not interested).
AUTH obtains user signatures and expected operations, and verifies whether its signature is correct.It sets a variable to illustrate the original address of TXN.
AuthCall and then use the initiator address as the callor rather than the actual msg.sender to call the target contract.
This is the working principle of EIP-3074:
-The user signed a message (outside the chain, not a transaction)
-The user or promoter sends messages as transactions to the call demeanor contract
-Mevker uses Auth and AuthCall to verify and calls each target contract, and uses the user’s address as the sender.
We got some unlocking from this new transaction process.
Unlock#1It is sponsoring trading (sponsored TX).Suppose that there is no ETH in the Bob’s wallet.Applications can provide GAS for BOB’s transactions without BOB purchase/bridge ETH.This may be of great significance for obtaining small -scale large -scale use.
Unlock #2It is the ability to perform multiple operations in a transaction.Now, in order to exchange tokens on Uniswap, you must first approve UNISWAP to use your tokens, and then run the actual exchange.The user experience is not very good.With EIP-3074, these two operations can be compressed to a single transaction.
Unlock#3It is asset recovery.You can set up a special called contract contract so that you can use social recovery to restore assets when you lose your private key.If you meet the conditions for social recovery, you can submit the signature to the caller to transfer assets.
We should realize that there are several disadvantages of EIP-3074Essence
One of the biggest disadvantages is the involved (Invokeers). These calories need to be comprehensively reviewed, unable to upgrade and be relieved, otherwise users’ funds will be easily stolen.
In addition, some existing re-entry inspections may not be suitable for EIP-3074.
Since the EIP-3074 adds two new operating codes, it is necessary to add a hard fork to add this change.This is part of the first reason that EIP-3074 was delayed and ERC-4337 was first adopted.ERC-4337 (account abstraction) does not require a hard fork, which is purely a change of contracts and under-chain systems.
The core development execution of the core development today (April 12, 2024) is summarized as follows:
-EIP-3074 will be included in the PECTRA hard fork in Ethereum.
Thank you very much @lightClients, one of the authors of EIP-3074, and has been promoting this EIP for many years.
To understand more information about EIP-3074, you can find the complete EIP here:
https://eips.ethereum.org/eips/eip-3074
In addition, speeches from @lightClients are very in-depth, which can help us better understand EIP-3074:
https://www.youtube.com/watch?v=AffFFTIS6XFE
Summary: EIP-3074 will simplify, protect the chain and reduce the GAS fee.EVM is about to launch two new operating codes that will enhance EOA capabilities and make them use almost as smart contract wallets.