wallet-contracts icon indicating copy to clipboard operation
wallet-contracts copied to clipboard

WIP: EIP-4337 Support through hooks

Open ScreamingHawk opened this issue 2 years ago • 1 comments

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.

ScreamingHawk avatar Sep 11 '23 03:09 ScreamingHawk

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).

Agusx1211 avatar Sep 11 '23 09:09 Agusx1211