getwax / bls-wallet

Core components to use layer 2 smart contract wallets with the BLS signature scheme
MIT License
177 stars 46 forks source link

Implement EIP-1271 (Signature Validation) #201

Closed jacque006 closed 1 year ago

jacque006 commented 2 years ago

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:

This creates tight coupling between the wallet and gateway, which could be undesirable.

jzaki commented 1 year ago

Related -> https://ethereum-magicians.org/t/erc-4337-account-abstraction-via-entry-point-contract-specification/7160/68

JohnGuilding commented 1 year ago

Completed in #561