Implementation of contracts for ERC-4337 account abstraction via alternative mempool.
InitializableAccount allow the absctruct account facotory execute some constant operations when creating a contract acount.
In this simples, the abstruct account will approve token to the paymasters when they were created, in order to resolve the issue that they must have native token to pay the gas cost of approving.
- init
yarn && yarn hardhat compile- submit abstruct account operation
yarn runop2Vitalik's post on account abstraction without Ethereum protocol changes
Abstruct account reference implementation