wormhole-foundation / wormhole-connect

Wormhole Connect brings all the functionality and utility of Wormhole right into your application and removes all of the complexity.
https://connect-in-style.wormhole.com/
Other
78 stars 58 forks source link

Show canonical tokens even when wallet is not connected #2712

Closed kev1n-peters closed 5 days ago

kev1n-peters commented 5 days ago

Wormhole-wrapped Ethereum USDC was not showing with Sui as the source chain, because it's a Wormhole-wrapped token, and we only display those if the user has a balance. However, this token is canonical on Sui, so we want to display it even when the users's wallet isn't connected.

Added an isCanonical function that the TokenList uses.

Fixes #2690

netlify[bot] commented 5 days ago

Deploy request for wormhole-connect pending review.

Visit the deploys page to approve it

Name Link
Latest commit f596f3d18283c0e9d2c79a4aa476817525fc97bb
netlify[bot] commented 5 days ago

Deploy request for wormhole-connect-mainnet pending review.

Visit the deploys page to approve it

Name Link
Latest commit f596f3d18283c0e9d2c79a4aa476817525fc97bb
Wesleyleung commented 5 days ago

In the ticket, I also noted I'm not able to bridge USDC into Sui at all after wallets are connected (example used was selecting native USDC on Solana for the origin and then seeing no options on Sui for the destination). Does this change also address that?

kev1n-peters commented 5 days ago

In the ticket, I also noted I'm not able to bridge USDC into Sui at all after wallets are connected (example used was selecting native USDC on Solana for the origin and then seeing no options on Sui for the destination). Does this change also address that?

This does not, because Wormhole-wrapped Solana USDC is considered a Frankenstein token on Sui