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

Show canonical tokens even when wallet is not connected #2712

Conversation

kev1n-peters
Copy link
Collaborator

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

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 wormhole-foundation#2690
Copy link

netlify bot commented Sep 24, 2024

👷 Deploy request for wormhole-connect pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit f596f3d

Copy link

netlify bot commented Sep 24, 2024

👷 Deploy request for wormhole-connect-mainnet pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit f596f3d

@Wesleyleung
Copy link
Collaborator

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
Copy link
Collaborator Author

kev1n-peters commented Sep 24, 2024

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

Copy link
Collaborator

@emreboga emreboga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@kev1n-peters kev1n-peters merged commit b0dc901 into wormhole-foundation:development Sep 24, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Wormhole-wrapped USDC on Sui to builtin token list
3 participants