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 higher-level abstractions over deriveKeyFromPath #8

Closed
rekmarks opened this issue Feb 23, 2021 · 0 comments · Fixed by #25
Closed

Add higher-level abstractions over deriveKeyFromPath #8

rekmarks opened this issue Feb 23, 2021 · 0 comments · Fixed by #25

Comments

@rekmarks
Copy link
Member

If passed a parentKey, deriveKeyFromPath has no way of knowing where in an HD path it's deriving a key. This makes it easy for consumers to generate invalid paths. We should add higher-level abstractions over deriveKeyFromPath to make it harder to generate invalid keys.

This may include the addition a wrapped key object that includes both the raw key and its associated path information.

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 a pull request may close this issue.

1 participant