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

Add account abstraction samples to our tests & benchmarks #136

Open
hai-rise opened this issue Jun 3, 2024 · 2 comments
Open

Add account abstraction samples to our tests & benchmarks #136

hai-rise opened this issue Jun 3, 2024 · 2 comments
Labels
enhancement New feature or request time-consuming

Comments

@hai-rise
Copy link
Contributor

hai-rise commented Jun 3, 2024

No description provided.

@hai-rise hai-rise added enhancement New feature or request V1 labels Jun 3, 2024
@hai-rise hai-rise added time-consuming and removed V1 labels Sep 4, 2024
@tsnewnami
Copy link
Contributor

tsnewnami commented Sep 21, 2024

This is a great idea. Here's what I'm thinking this may look like.
Contracts (all written in rust, similar to the erc20)

  • Factory: uses create2 to deploy a wallet contract
  • Wallet: manages user state like nonces etc, has a function that forwards delegate calls to contracts

The more realistic way would be have Wallet be an implementation and the actual smart contract wallets be proxies.

Happy to take this one once aligned on the specs.

@hai-rise
Copy link
Contributor Author

This is a great idea. Here's what I'm thinking this may look like. Contracts (all written in rust, similar to the erc20)

  • Factory: uses create2 to deploy a wallet contract
  • Wallet: manages user state like nonces etc, has a function that forwards delegate calls to contracts

The more realistic way would be have Wallet be an implementation and the actual smart contract wallets be proxies.

Happy to take this one once aligned on the specs.

Ah, this is a big issue. We should prioritize missing features and low-hanging optimizations first.
For the record, @kien-rise compiled Solidity templates & forks for ERC-20 and Uniswap to bytecodes in assets/*.hex and used Rust to mock the accounts and transactions.

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

No branches or pull requests

2 participants