Hello. I am trying to sign a message using python the same way metamask does it. But I get different results. Here is what I do:

1. Intercept requests while I logging in https://dune.com/auth/login using browser and metamask extension
2. I get the message to sign and the response from my metamask. (Pic 1, 2) (Don't pay attention to the 404 status code, I can see what metamask responded and only this matters)
3. I am trying to sign the same message from pic.1 using python. But in the end I get different result from metamask. (Pic 3)

Can somebody help me? I don't understand why it is like this.

Feb 23, 2023, 2:43 AM
Feb 23, 2023, 2:43 AM
assuming u r using the same private key right ?
Feb 23, 2023, 9:02 AM

© 2024 Draquery.com All rights reserved.