Skip to content

Problem with creating a signature following EIP712 and using ethers signTypedData for wagmi.sh #4494

Closed Answered by bunnnyyyy-dev
bunnnyyyy-dev asked this question in Q&A
Discussion options

You must be logged in to vote

Hi all, just going to answer it myself here as I have found the problem.

It seems to be a JS/TS problem on the frontend side due to an incorrect domain being generated from the mismatch in code formats and inference from openzeppelin's test unit. After fixing the issue, it now generates the correct signature, and on-chain verification works.

Will be closing this discussion and thanks to those who have taken a look at the issue!
Bunny

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ricmoo
Comment options

@bunnnyyyy-dev
Comment options

@kpeluso
Comment options

Answer selected by bunnnyyyy-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants