Skip to content

feat(caip): add .toCaipChainId + KnownCaipNamespace#175

Merged
ccharly merged 4 commits intomainfrom
feature/more-caip-helpers
Mar 14, 2024
Merged

feat(caip): add .toCaipChainId + KnownCaipNamespace#175
ccharly merged 4 commits intomainfrom
feature/more-caip-helpers

Conversation

@ccharly
Copy link
Copy Markdown
Contributor

@ccharly ccharly commented Mar 13, 2024

This adds some new helpers regarding CAIP-2 chain IDs.

This is in regard to the on-going work of adding those chain-agnostics IDs into our Snap keyring implementations.

Initially those helpers were living on https://github.com/MetaMask/eth-snap-keyring repository, but it feels more natural to have them here. Moreover, we might use them elsewhere.

Related

@ccharly ccharly requested a review from a team as a code owner March 13, 2024 15:08
@ccharly ccharly force-pushed the feature/more-caip-helpers branch 2 times, most recently from 8050564 to fdfc2c3 Compare March 13, 2024 15:48
@ccharly ccharly force-pushed the feature/more-caip-helpers branch from fdfc2c3 to cd35212 Compare March 13, 2024 16:19
@ccharly ccharly force-pushed the feature/more-caip-helpers branch from cd35212 to 066bde6 Compare March 13, 2024 20:55
@ccharly ccharly changed the title feat(caip): add .toCaipChainId + CaipNamespaces feat(caip): add .toCaipChainId + KnownCaipNamespace Mar 13, 2024
Copy link
Copy Markdown
Contributor

@mcmire mcmire left a comment

Choose a reason for hiding this comment

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

Two more suggestions!

ccharly and others added 3 commits March 13, 2024 23:02
Co-authored-by: Elliot Winkler <elliot.winkler@gmail.com>
Co-authored-by: Elliot Winkler <elliot.winkler@gmail.com>
Copy link
Copy Markdown
Contributor

@mcmire mcmire left a comment

Choose a reason for hiding this comment

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

LGTM!

@ccharly ccharly merged commit d532b07 into main Mar 14, 2024
@ccharly ccharly deleted the feature/more-caip-helpers branch March 14, 2024 15:53
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