Hi, I want to verify EIP712 signature in my smart contract. That signature message includes these variables and types:

user wallet address as address,
valid until as uint256,
contents as Content[]

Content = {from as address, id as uint256}

I can sign message using ethers.js but I couldn't verify the message in smart contract. I think that It is because I can't hash the contents part. How can I verify this signature type? Any help appreciated, thank you

Oct 4, 2023, 10:35 AM

© 2024 Draquery.com All rights reserved.