Open NORcoin opened 2 months ago
https://codesandbox.io/p/live/d58e7e29-8627-4195-a615-8953cbc19e88
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
npm install @web3modal/ethers5 ethers@5.7.2
W3M-97 [bug] w3m-button doesn't show balance of different erc-20 tokens, used to work before
any updates?
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 ethers@5.7.2