中文 / English
Uncle Tony

A journey of a thousand miles begins with a single step


  • Home

  • Archive

  • About

  • Page404

  • Search

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

Published at: 2023/11/12   |   Categories: web3   crypto   | Words: 214 words | Reading: 2 minutes | Visited:

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#

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

Link:https://guotie.github.io/en/post/centrals-instructions-should-using-account-abstraction/

Author:guotie

Declaration: This blog post article is under the CC BY-NC-SA 3.0 license,Please indicate the source!

If it can help you, you can give tips for blogger that how much you want. ^_^
WeChat Pay

Wechat Pay

Alipay

Ali Pay

Make JWT more safe
guotie

guotie

better code, better life

4 Blogs
6 Categories
15 Tags
GitHub twitter telegram email medium
TagCloud
  • Account abstraction
  • Arbitrage
  • Crypto
  • Defi
  • Etheruem
  • JWT
  • Libuv
  • Linux
  • Safety
  • Solidity
© 2010 - 2024 Uncle Tony
Powered by - Hugo v0.119.0 / Theme by - NexT
/
0%