Varun Srinivasan pfp
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 pfp
timdaub
@timdaub.eth
wait I had this issue
1 reply
0 recast
0 reaction

timdaub pfp
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

timdaub pfp
timdaub
@timdaub.eth
@v 👆
0 reply
0 recast
0 reaction

RicMoo.eth pfp
RicMoo.eth
@ricmoo
The class should be the same as the one in v5. I should include a convenience function for simple Typed Data validation. If you want to open a GitHub issue I’ll get it added right away. :)
0 reply
0 recast
0 reaction

Varun Srinivasan pfp
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