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

Exclude tokens from list based on chainid #42

Open
yellowgh0st opened this issue Nov 3, 2021 · 1 comment
Open

Exclude tokens from list based on chainid #42

yellowgh0st opened this issue Nov 3, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@yellowgh0st
Copy link
Member

Tokens that do not exist on app's chain must be excluded.
getCombinedTokenListFromSources function possibly needs to be extended to filter them out.

@yellowgh0st yellowgh0st added the enhancement New feature or request label Nov 3, 2021
@0xb10ckdev
Copy link
Member

0xb10ckdev commented Nov 16, 2021

I think it's implemented while I was working on the swap page

.then(d => d.tokens.filter(token => token.chainId == defaults.network.chainId))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants