XLabs / portal-bridge-ui

Portal Bridge UI
https://www.portalbridge.com/
25 stars 37 forks source link

[bug] Cannot add WETH (BSC) token to the wallet #1038

Open tsadovska opened 2 months ago

tsadovska commented 2 months ago

Is there an existing issue for this?

Current Behavior

An error appears in Console: Uncaught (in promise) {code: -32602, message: 'The symbol in the request (WETH) does not match the symbol in the contract (ETH)'}

Screenshot 2024-08-21 at 15 35 45

Expected Behavior

Token is successfully added to the wallet.

Steps To Reproduce

  1. Open https://portalbridge.com/
  2. Send 0.0001 WETH (Polygon) from Polygon (MetaMask) to BSC (MetaMask)
  3. Click on "Add WETH (BSC) to your wallet" link

Environment

- OS: macOS Sonoma 14.5
- Wallet: MetaMask
- Browser: Google Chrome Version 127.0.6533.120 (Official Build) (arm64)

Anything else?

No response

danielisaacgeslin commented 2 months ago

https://api.coingecko.com/api/v3/coins/bsc/contract/0x2170Ed0880ac9A755fd29B2688956BD959F933F8

image