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

In the example of vue-wagmi, the currency balance is always 0 after connecting the wallet #3620

Open
lucky-0011 opened this issue Jan 12, 2025 · 9 comments
Assignees
Labels
bug Something isn't working

Comments

@lucky-0011
Copy link

lucky-0011 commented Jan 12, 2025

image
image

In the example of vue-wagmi, the currency balance is always 0 after connecting to the wallet. The real balance is 0.1ETH.
In the example of react-wagmi, the balance shows normal.
Can anyone help me answer this?

@reown-com reown-com deleted a comment Jan 13, 2025
@rtomas rtomas transferred this issue from reown-com/web-examples Jan 13, 2025
@rtomas rtomas added the bug Something isn't working label Jan 13, 2025
@tomiir tomiir assigned tomiir and unassigned rtomas Jan 13, 2025
@magiziz
Copy link
Contributor

magiziz commented Jan 20, 2025

@lucky-0011 I believe this is already fixed. Can you try to reproduce again with the latest appkit version (1.6.4) ?

Image

@lucky-0011
Copy link
Author

I tried to create a new project and followed the instructions on the official website(https://docs.reown.com/appkit/vue/core/installation), but the balance still did not show up.
Image
Image

@magiziz
Copy link
Contributor

magiziz commented Jan 21, 2025

@lucky-0011 Can you provide a minimal reproducible example ?

@GiovaniGuizzoYUB
Copy link

GiovaniGuizzoYUB commented Jan 21, 2025

I can confirm. I have the same issue here. Reverting to v1.6.2 (both wagmi connector and appkit) solves the issue. v1.6.3+ is broken somehow.

@magiziz
Copy link
Contributor

magiziz commented Jan 21, 2025

@GiovaniGuizzoYUB Do you have a reproducible example ?

@GiovaniGuizzoYUB
Copy link

GiovaniGuizzoYUB commented Jan 22, 2025

Sure, here's an example: https://stackblitz.com/edit/vitejs-vite-lpv2rkti?file=src%2FApp.tsx
It happens with Saigon (Ronin testnet) network.
If you need tokens to test it, try their faucet: https://faucet.roninchain.com/

Note the project ID is empty, but even adding a project ID won't fix it.
v1.6.2 is working normally, something about v1.6.3 broke it.

@magiziz
Copy link
Contributor

magiziz commented Jan 23, 2025

@GiovaniGuizzoYUB Can you try reproducing this on v1.6.5 ? I don't have testnet funds atm to test it

@GiovaniGuizzoYUB
Copy link

@magiziz it has been fixed! Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

11 participants
@rtomas @tomiir @magiziz @GiovaniGuizzoYUB @lucky-0011 and others