Skip to content
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

Example of how to sign a message #20

Open
alexandr-kazakov opened this issue Jun 3, 2022 · 3 comments
Open

Example of how to sign a message #20

alexandr-kazakov opened this issue Jun 3, 2022 · 3 comments

Comments

@alexandr-kazakov
Copy link

No description provided.

@iamnotaprogrammer98
Copy link

iamnotaprogrammer98 commented Aug 12, 2022

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.

@DjilanoS
Copy link

This issue should be fixed once the packages are updated as per #33

@Aanhane
Copy link
Contributor

Aanhane commented Sep 10, 2022

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants