solana-wallets-vue
solana-wallets-vue copied to clipboard
Example of how to sign a message
I'd like to follow up on this, and I'm also getting the following errors when using useWallet() reference:
signMessage:
Uncaught (in promise) TypeError: signMessage is not a function
Sending SOL usage https://github.com/lorisleiva/solana-wallets-vue#usage
WalletSendTransactionError: Missing or invalid parameters. at PhantomWalletAdapter.sendTransaction (app.js:94893:23) at async sendTransaction (app.js:84972:12)
Any help would be greatly appreciated.
This issue should be fixed once the packages are updated as per #33
@iamnotaprogrammer98 you need to set the commitment when setting up the connection. The demo in PR #34 is working as you can see in URL in the PR.