wallet-contracts
wallet-contracts copied to clipboard
WIP: EIP-4337 Support through hooks
Here's an implementation of EIP-4337 that can be added as a hook.
Support is only valid (due to opcode restrictions) when the tx signature doesn't validate against nested Sequence wallets (due to accessing imageHash on the nested wallet and potentially GAS op code usage). This means signatures including the guard will fail. A temporary solution could be adding an EOA based guard or increasing the threshold of the session key.
We should be moving in the direction of an EOA guard anyway, that's what WaaS uses and it would also be good for the universal wallet (more secure).