[Ethereum] Signing with Prefix #1619
Unanswered
LayneHaber
asked this question in
Q&A
Replies: 3 comments
-
Can you elaborate on Ethereum project, and Trust Wallet as provider? I can't fully understand. Do you have shareable sample code? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Do you mean trust web3 provider? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Someone is using an injected trust wallet as the web3 provider, yes |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an SDK that uses the
ethers.Signer
abstract class as an interface. I expect the messages returned from.signMessage
to include the ethereum prefix, but it appears when using an injected Trust Wallet provider this is not the case.What is the recommended way for handling this and adding the prefix with the
ethers
package?Sorry if this is not the best place/way to ask this question!
Beta Was this translation helpful? Give feedback.
All reactions