Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Sign Typed Data not following correct format. #75

Open
paulo-bc opened this issue Nov 29, 2021 · 0 comments
Open

Sign Typed Data not following correct format. #75

paulo-bc opened this issue Nov 29, 2021 · 0 comments

Comments

@paulo-bc
Copy link

Parameters for eth_signTypedData should be a string and a json object, but App.tsx testSignTypedData sends two strings.

const message = JSON.stringify(eip712.example);
// eth_signTypedData params
const msgParams = [address, message];

When it should be:

// eth_signTypedData params 
const msgParams = [address, eip712.example]; 
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant