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

Add tokenlist filtering by chainId #1558

Merged
merged 2 commits into from
Oct 29, 2024
Merged

Conversation

tiagofilipenunes
Copy link
Collaborator

@tiagofilipenunes tiagofilipenunes commented Oct 29, 2024

If chainId is defined in the tokenList.tokens, filter by chainId.

Example flow:

  1. On CELO, search for the mcUSD token - its address is 0x918146359264C492BD6934071c6Bd31C854EDBc3 on Celo Mainnet, and 0x3a0EA4e0806805527C750AB9b34382642448468D on Celo Alfajores Mainnet
  2. Only one token should show up, with address 0x918146359264C492BD6934071c6Bd31C854EDBc3

Copy link

cloudflare-workers-and-pages bot commented Oct 29, 2024

Deploying carbon-app-celo with  Cloudflare Pages  Cloudflare Pages

Latest commit: c176a71
Status: ✅  Deploy successful!
Preview URL: https://9850a3f8.carbon-app-celo.pages.dev
Branch Preview URL: https://filter-tokenlist-chainid.carbon-app-celo.pages.dev

View logs

Copy link

cloudflare-workers-and-pages bot commented Oct 29, 2024

Deploying carbon-app with  Cloudflare Pages  Cloudflare Pages

Latest commit: c176a71
Status: ✅  Deploy successful!
Preview URL: https://d09636ff.carbon-app-csq.pages.dev
Branch Preview URL: https://filter-tokenlist-chainid.carbon-app-csq.pages.dev

View logs

Copy link

cloudflare-workers-and-pages bot commented Oct 29, 2024

Deploying carbon-app-sei with  Cloudflare Pages  Cloudflare Pages

Latest commit: c176a71
Status: ✅  Deploy successful!
Preview URL: https://bff18884.carbon-app-sei.pages.dev
Branch Preview URL: https://filter-tokenlist-chainid.carbon-app-sei.pages.dev

View logs

Copy link

cloudflare-workers-and-pages bot commented Oct 29, 2024

Deploying carbon-app-blast with  Cloudflare Pages  Cloudflare Pages

Latest commit: c176a71
Status: ✅  Deploy successful!
Preview URL: https://5310a40e.carbon-app-blast.pages.dev
Branch Preview URL: https://filter-tokenlist-chainid.carbon-app-blast.pages.dev

View logs

@tiagofilipenunes tiagofilipenunes merged commit 37cac15 into main Oct 29, 2024
4 checks passed
@tiagofilipenunes tiagofilipenunes deleted the filter-tokenlist-chainid branch October 29, 2024 14:02
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.

3 participants