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

feat: script to retrieve the current list of ckErc20 #1314

Merged
merged 6 commits into from
May 21, 2024

Conversation

peterpeterparker
Copy link
Member

@peterpeterparker peterpeterparker commented May 21, 2024

Motivation

Similar to SNSes, we aim to set up a weekly job that collects the ckERC20 tokens that exist on mainnet for staging and production.

This PR provides a script that queries the ckETH orchestrator to retrieve the list of tokens with their corresponding IC ledger and index canisters.

Changes

  • Update @dfinity/cketh@next, which contains an update to introduce the ckETH orchestrator canister (see ic-js PR 632).
  • Create a new script that queries the orchestrator and generates a JSON file.

Notes

The script contains a check that asserts that token symbols are provided only once per environment. This allows us to prefix the information per token as we are still going to integrate that information manually within our codebase.

@peterpeterparker peterpeterparker changed the title feat: weekly job to retrieve the current list of ckErc20 feat: script to retrieve the current list of ckErc20 May 21, 2024
@peterpeterparker peterpeterparker marked this pull request as ready for review May 21, 2024 12:16
@peterpeterparker peterpeterparker merged commit 915d331 into main May 21, 2024
6 checks passed
@peterpeterparker peterpeterparker deleted the feat/build-tokens-ckerc20 branch May 21, 2024 13:06
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.

2 participants