Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement AA mechanism in core #90

Open
3 of 8 tasks
b1m0n opened this issue Mar 4, 2024 · 1 comment
Open
3 of 8 tasks

Implement AA mechanism in core #90

b1m0n opened this issue Mar 4, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@b1m0n
Copy link
Contributor

b1m0n commented Mar 4, 2024

Introduction

We are heading to implement a more generic and flexible account abstraction scheme. Accounts in U2U will be able to initiate transactions, like an EOA, but can also have arbitrary logic implemented in them, like a smart contract. The simple AA implementation at PR #64 and #66 is kinda simple, subjects to be spammed because this implementation doesn't have a selective mechanism for paying gas. The arbitrarity in AA logic and other DoS protection can be achieve via this new transaction type and how we treat the execution/gas estimation flow.

References:

Checklist

  • Define a new transaction type EIP712TxType = 0x71 to implement Transaction interface: Define a new transaction type EIP712TxType = 0x71 to implement Transaction interface #91
  • TransactionHelper, IAccount, IPaymaster smart contract interfaces and simple implementations for testing purposes: Implement the paymaster flow #94
  • Implement the paymaster flow first to serve AA gas sponsoring in the future: Implement the paymaster flow #94
  • Apply the EIP712TxType execution and gas estimation flow
    • Account versioning to allow breaking changes in the future
    • Nonce ordering to signal to the operator which nonce ordering it should expect
    • Extending EIP-4337 to provide DoS protection for the operator by imposing several restrictions on the validation step of the account
  • Documentation
@b1m0n b1m0n added the enhancement New feature or request label Mar 4, 2024
@b1m0n b1m0n self-assigned this Mar 4, 2024
@b1m0n b1m0n changed the title Implement a generic EIP-712 transaction type Implement AA mechanism in core Mar 18, 2024
@khoau2u
Copy link
Contributor

khoau2u commented Jun 18, 2024

  • Implement the alternative account flow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants