中文 / English
铁叔

天地不仁 以万物为刍狗


  • 首页

  • 归档

  • 关于我

  • 公益404

  • 搜索

Centralized exchanges and wallets should take the lead in using Account abstraction

时间: 2023-11-12   |   分类: web3   crypto   | 字数: 214 字 | 阅读: 2分钟 | 阅读次数:

Centralized exchanges and wallets should take the lead in using Account abstraction

Currently, when centralized exchanges and wallets process user tokens, the usual practices are as follows:

  1. Assign an address to each user;
  2. When the user transfers currency to a changed address, transfer a small amount of main chain tokens (ETH, BNB, TRX, etc) to the changed address.
  3. Transfer the user token to the fund collection address of the exchange or wallet

This approach has some disadvantages:

  1. The operation is complicated
  2. The private key of each address needs to be strictly managed.
  3. Fund collection requires a main chain token to be transferred to each address first as gas fee, and then funds can be collected.
  4. Each address collection requires a transaction, and transactions cannot be merged.

Therefore, centralized exchanges and wallets can consider using Account Abstraction accounts as user addresses. This approach has several advantages:

  1. Convenient collection. a. When creating an account, use the approve method to transfer the token transfer permission of the address to the collection address; b. You can transfer funds from multiple accounts in one transaction through contract methods, improving efficiency and saving gas at the same time;

The main disadvantage of this method is that when creating an AA account for the first time, a gas fee is required.

#web3# #account abstraction# #crypto# #Etheruem#

声明:Centralized exchanges and wallets should take the lead in using Account abstraction

链接:https://guotie.github.io/post/centrals-instructions-should-using-account-abstraction/

作者:铁叔

声明: 本博客文章除特别声明外,均采用 CC BY-NC-SA 3.0许可协议,转载请注明出处!

创作实属不易,如有帮助,那就打赏博主些许茶钱吧 ^_^
WeChat Pay

微信打赏

Alipay

支付宝打赏

Make JWT more safe
铁叔

铁叔

千里之行 始于足下

25 日志
14 分类
56 标签
GitHub twitter telegram email medium
标签云
  • Solidity
  • Defi
  • Aave
  • Compound
  • Abi
  • Dapp
  • Ethereum
  • Evm
  • Lend protocol
  • Lending
© 2010 - 2024 铁叔
Powered by - Hugo v0.119.0 / Theme by - NexT
/
0%