-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot sign Solana transactions with signMessage #182
Comments
hey there! |
@Cognacy Hey. So, the problem is that Phantom does not support Solana message signatures of messages >~1000 characters. The error message "cannot sign with signMessage" is pretty misleading. They said they would fix this (see discussion linked below). I just implemented a workaround so that my messages were always under 1000 characters. https://github.com/orgs/phantom/discussions/181 From further research, I believe this may be a Solana limitation, not a Phantom one, but not 100% sure.... https://docs.solanalabs.com/cli/examples/sign-offchain-message |
Discussed in https://github.com/orgs/phantom/discussions/181
Originally posted by trevormil February 21, 2024
Summary
I am building a dApp that supports signing my Cosmos SDK blockchain's transactions as plaintext messages with Phantom Wallet. Certain transactions work, but some like the following fail with the error "Oops! You cannot sign solana transactions using sign message". Why could this be? What in this specific JSON is causing the error to be treated as a Solana transaction?
I am pretty sure it was working a little bit ago (maybe a new version update triggered something?)
Example
No response
Steps to Reproduce
Sign the message below using Phantom's sign message
Phantom Version
24.2.0
Is there an existing discussion for this?
The text was updated successfully, but these errors were encountered: