safe-wallet-web
safe-wallet-web copied to clipboard
[EIP1271] Make Safe compatible using the new off-chain flow when connected to other Safes as owner
Overview
When using Safes or other smart contract wallets as owners, we currently fallback to on-chain approvals using the safe contract's approveHash
function.
This has several disadvantages:
- It costs gas
- It is slow. The tx needs to be executed and then picked up by our indexer.
This issue wants to implement EIP-1271 signatures for owners which are smart contract wallets.
Requirements
- [x] https://github.com/safe-global/safe-core-sdk/issues/407
- [ ] try to use off-chain EIP-1271 signatures. If they do not work, fallback to the on-chain
approveHash
call