Yolo Profile picture
Oct 24 38 tweets 9 min read
1/ This threads we will review the concept and dynamics of Abstraction Account(AA) development and try to help dev find opportunities. #soul_wallet #argent #abstraction_account
2/ what is EOA and AA? Externally Owned Accounts(EOA)?
In general,we can abstract a action of tx into 2 valiate process:1. validate the account/identity. 2. validate the transcation. this threads we will focus on the first part.
3/ For a general EOAW, when user sign the operation the validate process would like below. The node of blockchain will transform the private key into public version to check with the public address containned in the operation. if aligned, then validation success; otherwise fail.
4/ validate process
①private-key → public key → Keccak256 hash → last 20 Bytes → 0xblabla(EOA address)
②tx signature → ec_recover → public → generate address → check with 0xblablabla
5/ What is the shortcoming of EOA?There are sereval typical scenarios the EOA can't fit:
1. The EOA is not tradeable.
2. New EOA users can't start a tx without gas.
3. The EOA can't do batch tx.
4. The EOA can't do social recovery.
6/ these problems are very obvious for the most crypto guys from day1 we set foot in this area. so my question is how this shortcoming happened and what's the action devs have taken to improve the whole system
7/ There are two reason behind the problem I mentioned above.
First reason: the identity problem. (all the pressure are on the private key )if somebody lose private key then its totally over.
8/ If Alice wanna start a tx,the system must validate alice is alice. So how is this happened? the EOA wallet will use ECDSA to sign the operation. the whole system use private key as user identity.
9/ which based on two assumption:1)no one will sell their account. 2)the signature is only proof of your identity.
Only based on these 2 assuption, we can use private key as a identity to authorize the node to execute the operation.
10/ Now all the pressure is on the private key,the private key is approximately Alice identity. which provokes a demand on how to find another solution to play as a identity validator instead of ESDCA-key system or at least relieve the pressure on it.
11/ Second reson: the ownership of initiative. (users can't start a tx without gas ) It is obvious that all the tx consume computing resource(gas). but from the perspective of fresh users, it is rediculous to ask new-onboarding users to own ETH(gas) in advance.
12/ what kind of solutions we are trying to deal with current problems? Around the identity problem,there are solution like MPC and AA/social recovery wallet. and around the ownership problem,the guardian-model sc is on the trend.
13/ what is MPC? MPC(multi parties computing)is a solution which separate the private key into several pieces(like 2-2, 2-3, n-k means separate the private key into N pieces and storaged in k places )when we sign a contract,the system will combine the pieces to use.
14/ What is the SCW(smart contract wallet)? what is abstraction account/SCW? To use simply language, it is an account which is the smart contract(let's say mother-SC) assign to u.Why?because it is assignned by the smart contract, so it is guardian by it.
15/ ★ to understand precisedly,we can say MPC is a key custodian solution more than wallet-solution.
17/ what's the difference? 1) social recovery feature. If u can finish the social test(like email varification),the Mother-SC can recover your account.Relatively speaking, EOA wallet is more like a interpretpr and a telegraph which can’t do any logic processing.
18/ 2)customized security policy. users account are guarded by the mother-smart-contract. so the tx can restricted by mother-SC.
19/ 3) Interation with fresh crypto scheme.
20/ the pros and cons of MPC/AA. To make it simple,we can understand MPC/AA like the “multi-sig" on different layer(on chain/off chain). (not precisely in term of tech).
21/ On MPC,it lower the pressure on storage the key. the pros are 1)chain agnostic. Neural to every chain. Cuz MPC jiaswa the key off the chain. 2)resillent on sigle node attack. even one node is hacked and leak the pieces of key which still figure out the whole key.
22/ Cons: 1)security. Some involved party nodes are close to the Wallet. So in this case, the MPC solution is more like a SPC(single part computing). 2)efficiency. depands on the detailed solution.
23/ On AA, it use social connection to help rebuild your account. the pros are 1) different innovative design. devs can design various guardian,assets,even tokenomics to fits various demands. token utility is a old annoying' problem for EOA wallet. 2)xx
24/ Con are: 1) cost. to deploy a AA for user cost gas. relatively the EOA/MPC wallet ask nothing to creat new account. (EIP-4337 create “paymaster” contract to allow project team cover the users cost on account creation)
25/ 2)Gas fee. Cuz all the contract are on chain, it will influenced by the gas congestion.
26/ Focus on AA and EIP-4337,what is it bring to us? There is 3 parts of EIP4337: bundlers,entry-points,paymaster(optional).
27/ bundlers package users operations and push it to entry points contract. and entry points would push the operation on the chain and the chain node would validate the operation and get it into consensus.
28/ the most interesting part is bundlers. the role of bundler play as a squencer,so he can find MEV-type opportunities when the AA in mass adoption. and because bundler operates in the mempool so maybe we can also create some flashloan-type model to do stuff in just one block.
29/ here is the future problem: 1) how to create AA bridge? to sync up the account info on different chain. 2) the abstraction account still on move? how do we design on move eco? 3) if we deploy aa on L2, what kind of synergy would happened between L2 miner and AA wallet bundle
30/ 4)how to predict the gas fee/fluctuation more precisely?5)how to design tokenomics for smart contracy wallet?
31/ my dm is open,willing to chat with abstract account builders.
So many thx to @argentHQ. you guys writed too many great educational article. thx to @TimeOfSand,the real philosophor on blockchain structure. I can't wait to translate his article into English.
Reading List:3 must-read content
medium.com/infinitism/erc…
【Tech-oriented】Yoav Weiss, Dror Tirosh | Ethereum Foundation 🛠 Account abstraction: building an ERC-4337 wallet - Yoav Weiss, Dror Tirosh
Yoav Weiss | ERC 4337: Account Abstraction via Alternative Mempool
Yolo Reading List on AA:Selective and step by step. hope to help AA fresh to know the magic world.
notion.so/yolonotes/Yolo…
pls check detailed article on

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Yolo

Yolo Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(