0xgasless SDK Docs
  • Introduction
    • 0xGasless AA SDK
    • Ethereum's EIP-4337 Account Abstraction
      • How Account Abstraction Works
      • Benefits of EIP-4337 Account Abstraction
  • Getting Started
    • Installation
    • Intialization
    • Using social login
    • Setting up paymasters
  • Telegram Module setup
  • Sending Transactions
    • Sending Transaction (non-telegram)
    • Sending Batch Transaction (non-telegram)
    • Sending Transaction (using telegram)
    • Sending Batch Transaction (using telegram)
  • Getting Transaction Receipt
  • 0xGasless Custom Paymaster
    • Document
Powered by GitBook
On this page
  1. Introduction
  2. Ethereum's EIP-4337 Account Abstraction

How Account Abstraction Works

Now, let's explore how the Account Abstraction process works:

1. User Initiates a User Operation

  • User: A user creates a User Operation, specifying the destination smart contract, function to call, and any required parameters.

  • SDK: The user may use your SDK to create and send User Operations.

2. User Operation Sent to Bundler

  • User: The user sends the User Operation to the Bundler's address, as specified in the User Operation.

  • Bundler: The Bundler receives the User Operation and validates it.

3. Bundler Processes User Operation

  • Bundler: The Bundler processes the User Operation, which includes estimating gas fees, executing the transaction, and updating the blockchain state.

4. Execution of Smart Contract Code

  • Smart Contract Account: The smart contract specified in the User Operation receives and executes the requested function, updating its state as necessary.

5. Transaction Result Returned

  • Bundler: The Bundler collects the result of the User Operation's execution.

  • User: The result can be retrieved by the user through your SDK or directly from the blockchain.

Last updated 1 year ago