-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Support Bip32 HD for solana keypair files #17093
Comments
cc @t-nelson |
Data to store in keyfile:
|
Is this why we can't import seed phrases derived from Sollet or similar into the |
@dahifi , no, you actually can use seed phrases with
See https://docs.solana.com/wallet-guide/paper-wallet#hierarchical-derivation |
This still seems like a potentially useful idea, but is on no one's any-term radar. I'm going to close for now, but we know where to find this again if we want to pick it up in the future. |
Problem
Right now, a solana keypair file generated from a particular bip39 seedphrase is a "raw" ed25519 keypair; it does not use the same hashing mechanism from entropy as bip32 master-key derivation does, and does not produce/preserve the chain code that is needed bip32 and bip44 hierarchical derivation.
Proposed Solution
Extend solana key files to contain additional data, including the chain code or perhaps even the raw entropy. This would enable solana command-line tools to support bip32 HD from
solana-keygen
key files, following #5246The text was updated successfully, but these errors were encountered: