Closed jacque006 closed 1 year ago
Currently, it is difficult for a dApp to verify BLS signed messages done by our client library/extension. They must implement custom logic.
EIP-1271 provides a common interface that allows a contract to validate a signature. We could implement it by:
VerificationGateway.sol
ERC1271
BLSWallet.sol
This creates tight coupling between the wallet and gateway, which could be undesirable.
Related -> https://ethereum-magicians.org/t/erc-4337-account-abstraction-via-entry-point-contract-specification/7160/68
Completed in #561
Problem
Currently, it is difficult for a dApp to verify BLS signed messages done by our client library/extension. They must implement custom logic.
Possible Solution
EIP-1271 provides a common interface that allows a contract to validate a signature. We could implement it by:
VerificationGateway.sol
that can verify a BLS signed message.ERC1271
spec onBLSWallet.sol
, using the new signature validation function above.This creates tight coupling between the wallet and gateway, which could be undesirable.