-
Notifications
You must be signed in to change notification settings - Fork 68
Description
Describe the bug
When I listened to the solana_signTransaction method, I signed the message and got the signature. When I called web3Wallet.respondSessionRequest(), there was no error but it prompted "Error: Signature verification failed. Invalid signature for public key [My solana address]. In addition, I could not find this transaction on the solana browser.
To Reproduce
Steps to reproduce the behavior:
- Process the data when listening to solana_signTransaction. First, base58Decode the saved private key
- Get the keypair object and generate the message object
- Use Keypair to sign the compiledMessage
- Get the signature. After broadcasting it through web3Wallet.respondSessionRequest(), the signature cannot be queried on the blockchain browser. The current dApp page prompts an error message:
"Error: Signature verification failed. Invalid signature for public key [My solana address].
Expected behavior
Transactions can be queried in the blockchain browser
Reproducible code
Desktop (please complete the following information):
Platform agnostic, doesnt matter which device i test on it allways does the explained issue
Smartphone (please complete the following information):
Developing a dApp wallet, Use walletconnectV2Flutter to trade in jito dApp
Additional context
### Tasks
