-
Notifications
You must be signed in to change notification settings - Fork 537
web3 onboard vue version can't get provider value #2220
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
Comments
Hi @rodweb2103 can you provide a reproducible example? |
A screenshot ? |
@rodweb2103 no, a Minimal Reproducible example - please see link within the description above |
screenshot_wallet-onboard.mov |
@rodweb2103 this video doesnt really help - I have no idea how you have the provider setup in your codebase and cannot help with out that. |
const walletConnectSDK = walletConnectModule(wcInitOptions); const onboard = init({ const { wallets, connectWallet, disconnectConnectedWallet, connectedWallet } = useOnboard() const connect = async () => {
} |
Looks like you may need to use the return from connect to create the provider. If you could create a small project using repl or codepen I could help you debug but I am not able to without a reproducible example |
ok but i used that code based on your documentation |
it seems that your library is working fine only with react and is not working properly with vue 2 or vue 3 |
Current Behavior
I got that error message when trying to send transaction using ethers Uncaught (in promise) TypeError: (intermediate value).providers is undefined
Expected Behavior
I need to get provider value
Steps To Reproduce
No response
What package is effected by this issue?
@web3-onboard/core
Is this a build or a runtime issue?
Runtime
Package Version
2.22.0
Node Version
No response
What browsers are you seeing the problem on?
No response
Relevant log output
No response
Anything else?
No response
Sanity Check
The text was updated successfully, but these errors were encountered: