Varun Srinivasan
@v
trying to upgrade farcaster hubs to ethers6, @ricmoo is there a replacement for utils.verifyTypedData to validate EIP712 stuff? or is the desired behavior to call recoverAddress manually?
5 replies
0 recast
0 reaction
timdaub
@timdaub.eth
wait I had this issue
1 reply
0 recast
0 reaction
timdaub
@timdaub.eth
I didn‘t have this issue but I remember @ricmoo saying smth about EIP712 at the Denver ETHMagicians meeting. Anyways, seems this was moved into a class structure in v6 https://github.com/ethers-io/ethers.js/blob/v6.1.0/src.ts/hash/typed-data.ts
3 replies
0 recast
0 reaction
Varun Srinivasan
@v
is there a method in there that verifies signed EIP712 payloads? maybe im being dense, but im not seeing it
1 reply
0 recast
0 reaction
timdaub
@timdaub.eth
I guess the idea is that you build the signed message and then use recover address? To answer your question: I also don‘t see it right now.
1 reply
0 recast
0 reaction