Skip to content

feat: support OneKey#335

Closed
ByteZhang1024 wants to merge 10 commits into
MetaMask:mainfrom
ByteZhang1024:feat/onekey
Closed

feat: support OneKey#335
ByteZhang1024 wants to merge 10 commits into
MetaMask:mainfrom
ByteZhang1024:feat/onekey

Conversation

@ByteZhang1024

Copy link
Copy Markdown

Examples

See: #32739

@ByteZhang1024 ByteZhang1024 requested a review from a team as a code owner July 31, 2025 01:57
@socket-security

socket-security Bot commented Jul 31, 2025

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​onekeyfe/​hd-shared@​1.1.6-patch.4811007097100
Added@​types/​bytebuffer@​5.0.491001007276100
Added@​onekeyfe/​hd-transport@​1.1.6-patch.4841008297100
Added@​onekeyfe/​hd-web-sdk@​1.1.6-patch.4841008597100
Added@​onekeyfe/​hd-core@​1.1.6-patch.4841008497100

View full report

@socket-security

socket-security Bot commented Jul 31, 2025

Copy link
Copy Markdown

All alerts resolved. Learn more about Socket for GitHub.

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report

@ByteZhang1024 ByteZhang1024 changed the title 壮举:支持onekey feat: support OneKey Jul 31, 2025
cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

@Akaryatrh

Copy link
Copy Markdown
Contributor

@metamaskbot publish-preview

@Akaryatrh

Copy link
Copy Markdown
Contributor

@metamaskbot publish-preview

chainId: 1,
path: this.#getBasePath(),
passphraseState: this.passphraseState ?? '',
})

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Bug: Unlock Method Missing Coin Parameter

The unlock method calls bridge.getPublicKey with an incorrect parameter set. It includes chainId and showOnOneKey but misses the required coin parameter for the bridge. Also, this.passphraseState is assigned redundantly in this method.

Fix in Cursor Fix in Web

@Akaryatrh

Copy link
Copy Markdown
Contributor

@ByteZhang1024 closed in favor of #353 Please dm me whenever I need to update the new PR with your changes.

@Akaryatrh Akaryatrh closed this Aug 26, 2025
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