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

Add support for BIP-32-Ed25519 / CIP-3 key derivation #2408

Merged
merged 4 commits into from
May 15, 2024

Conversation

Mrtenz
Copy link
Member

@Mrtenz Mrtenz commented May 15, 2024

This bumps @metamask/key-tree to 9.1.0 and applies some changes to support the new BIP-32-Ed25519 derivation.

Replaces #2400.

Copy link

socket-security bot commented May 15, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@metamask/key-tree@9.1.0 None 0 0 B
npm/@noble/ed25519@1.6.0 None 0 78 kB paulmillr

🚮 Removed packages: npm/@metamask/key-tree@9.0.0, npm/@noble/ed25519@1.7.3

View full report↗︎

@Mrtenz Mrtenz marked this pull request as ready for review May 15, 2024 12:19
@Mrtenz Mrtenz requested a review from a team as a code owner May 15, 2024 12:19
@Mrtenz Mrtenz changed the title Bump @metamask/key-tree to 9.1.0 May 15, 2024
@Mrtenz Mrtenz merged commit 00c2a50 into main May 15, 2024
151 checks passed
@Mrtenz Mrtenz deleted the mrtenz/bump-key-tree branch May 15, 2024 12:43
@@ -199,6 +207,7 @@ export async function getNode({
path,
}: GetNodeArgs) {
const prefix = getPathPrefix(curve);

Choose a reason for hiding this comment

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

NP: line 217, should it be

| BIP32Node[]
| SLIP10PathNode[]
| CIP3PathNode[]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants