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

wallet.value is 'undefined' #59

Open
Tilakraj0308 opened this issue Jun 1, 2024 · 2 comments
Open

wallet.value is 'undefined' #59

Tilakraj0308 opened this issue Jun 1, 2024 · 2 comments

Comments

@Tilakraj0308
Copy link

When I am printing the wallet.value, which is used while creating AnchorProvider object, is undefined.

import { useAnchorWallet } from "solana-wallets-vue"; console.log(wallet.value)

I am getting output:
undefined

@Tilakraj0308
Copy link
Author

@lucky-whistle-dev instead of using solana cli to build the idl, use the online solana playground to create an idl from your smart contract. And just copy that idl to your local system and use in the program. I don't know why but it somehow solves the problem.

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

2 participants
@Tilakraj0308 and others