cawabunga/headless-web3-provider

Request for eth_signTypedData for EIP712 signatures

deHB6 opened this issue · 3 comments

deHB6 commented

The application I am working on uses signatures heavily. We have had great success with this package so far integrated with playwright but noticed it does not support eth_signTypedData. Wanted to see what you thought about adding it? Doesn't look like it will be too much and perhaps something we could try to PR? @cawabunga @romanlv

Hey @deHB6, could you say what version of "eth_signTypedData" you rely on? There are v1, v3 and v4 versions, although v1 and v3 are deprecated. Here is a link, that helps to clarify things https://docs.metamask.io/wallet/concepts/signing-methods/#eth_signtypeddata_v1-and-eth_signtypeddata_v3

I have added all sign_typed methods #3 and published new version on NPM.

deHB6 commented

Thank you so much!!