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