You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?)
hey there! Are you able to solve this? I'm having a similar issue as well.
@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.
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: