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

[bug] w3m-button doesn't show balance of different erc-20 tokens, used to work before #2058

Open
NORcoin opened this issue Mar 20, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@NORcoin
Copy link

NORcoin commented Mar 20, 2024

Link to minimal reproducible example

https://codesandbox.io/p/live/d58e7e29-8627-4195-a615-8953cbc19e88

Summary

The documentation mention that this can be done by adding tokens to createweb3modal with network as ID and then token address, but this feature doesn't seem to be working anymore:

createWeb3Modal({
//...
tokens: {
80001: {
address: '0x9999f7fea5938fd3b1e26a12c3f2fb024e194f97',
image: 'token_image_url' //optional
},
}
})

this should be showing the balance of USDC on MATIC network but it doesn't work

List of related npm package versions

npm install @web3modal/ethers5 [email protected]

@NORcoin NORcoin added bug Something isn't working needs review labels Mar 20, 2024
@aariya50
Copy link

any updates?

@rtomas
Copy link
Contributor

rtomas commented Dec 11, 2024

@aariya50 we are working on this ...

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

4 participants