Skip to content

Comments

feat: add QrKeyringV2 wrapper#411

Merged
mathieuartu merged 21 commits intomainfrom
feat/qr-keyring-v2
Jan 27, 2026
Merged

feat: add QrKeyringV2 wrapper#411
mathieuartu merged 21 commits intomainfrom
feat/qr-keyring-v2

Conversation

@mathieuartu
Copy link
Contributor

@mathieuartu mathieuartu commented Dec 10, 2025

Related to: https://consensyssoftware.atlassian.net/browse/MUL-1320

Examples


Note

Adds a new QrKeyringV2 adapter that wraps the legacy QrKeyring to expose accounts via the unified KeyringV2 API with dynamic capabilities based on device mode.

  • Implements HD mode (bip44:derive-index) and Account mode (custom address selection), with entropy source validation and locking; supports getAccounts, createAccounts, deleteAccount, serialize/deserialize
  • Extends legacy QrKeyring with getPathFromAddress and getMode helpers; exports QrKeyringV2 and related types via index.ts
  • Updates package deps/TS references to @metamask/keyring-api and @metamask/account-api; README dependency graph adjusted; adds comprehensive unit tests

Written by Cursor Bugbot for commit 685acf4. This will update automatically on new commits. Configure here.

@mathieuartu mathieuartu self-assigned this Dec 10, 2025
@mathieuartu mathieuartu changed the title feat: Add QrKeyringV2 wrapper feat(keyring-eth-qr): Add QrKeyringV2 wrapper Dec 10, 2025
@mathieuartu mathieuartu changed the title feat(keyring-eth-qr): Add QrKeyringV2 wrapper feat(keyring-eth-qr): add QrKeyringV2 wrapper Dec 10, 2025
@mathieuartu mathieuartu changed the title feat(keyring-eth-qr): add QrKeyringV2 wrapper feat: add QrKeyringV2 wrapper Dec 10, 2025
@mathieuartu mathieuartu marked this pull request as ready for review December 10, 2025 14:33
@mathieuartu mathieuartu requested a review from a team as a code owner December 10, 2025 14:33
cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

gantunesr
gantunesr previously approved these changes Jan 26, 2026
@mathieuartu mathieuartu added this pull request to the merge queue Jan 27, 2026
Merged via the queue into main with commit 3186dae Jan 27, 2026
37 checks passed
@mathieuartu mathieuartu deleted the feat/qr-keyring-v2 branch January 27, 2026 14:34
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