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: add new keyring type for oneKey #5216

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Akaryatrh
Copy link

@Akaryatrh Akaryatrh commented Jan 30, 2025

Explanation

This PR adds support for a dedicated OneKey keyring (until now it was sharing the same keyring instance than Trezor) so it's considered as a standalone device and could get its own tag inside account list.

There are two others PRs:

References

Fixes: https://github.com/MetaMask/accounts-planning/issues/793

Changelog

@metamask/accounts-controller

  • utils: add OneKey keyring type
  • tests: update accounts controller unit test with OneKey keyring type

@metamask/keyring-controller

  • controller: add OneKey keyring type

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've highlighted breaking changes using the "BREAKING" category above as appropriate
  • I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes

@Akaryatrh Akaryatrh force-pushed the feat/793-oneKey-dedicated-keyring branch from c7dd5e2 to 4893887 Compare February 7, 2025 10:55
@Akaryatrh Akaryatrh marked this pull request as ready for review February 7, 2025 10:56
@Akaryatrh Akaryatrh requested a review from a team as a code owner February 7, 2025 10:56
@Akaryatrh Akaryatrh marked this pull request as draft February 7, 2025 10:56
github-merge-queue bot pushed a commit to MetaMask/accounts that referenced this pull request Feb 11, 2025
This PR adds support for a dedicated OneKey keyring (until now it was
sharing the same keyring instance than Trezor) so it's considered as a
standalone device and could get its own tag inside account list.

There are two others PRs:

- metamask-extension:
MetaMask/metamask-extension#29999
- core (accounts and keyring controllers):
MetaMask/core#5216


Fixes: MetaMask/accounts-planning#793
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants