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: support unknown evm chains #399

Merged
merged 5 commits into from
Feb 15, 2024
Merged

feat: support unknown evm chains #399

merged 5 commits into from
Feb 15, 2024

Conversation

TateB
Copy link
Collaborator

@TateB TateB commented Feb 15, 2024

continuation of #398 with types

changes:

  • any arbitrary evm coin type value now has a corresponding coder, via getCoderByCoinType and getCoderByCoinTypeAsync
    • unknown evm chains have a name formatted as: Unknown Chain (${chainId})
    • unknown evm chains have isUnknownChain set to true
  • added isEvmCoinType helper function
  • all funcs are still fully typed with unknown chains!

src/utils/evm.ts Show resolved Hide resolved
@TateB TateB merged commit 766db72 into master Feb 15, 2024
2 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.

3 participants