Closed crmantow closed 1 month ago
You can try copying this code for SIWE https://github.com/thirdweb-dev/unity-sdk/blob/dafafeaaf343d3de6c934212c0fe4bac662bc537/Assets/Thirdweb/Core/Scripts/Wallet.cs#L136-L149
Or use v5 Utils.GenerateSIWE
I recently discovered that the invalid hexify error appears when I include the chainId in the JSON data string, but the error disappears when I exclude it. Is there a specific reason for this behavior?
I need to sign the message with the chainId included in the format, so any insight on how to fix this would be appreciated.
The string i want to sign: