-
Notifications
You must be signed in to change notification settings - Fork 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
pubkey of 'solana-keygen new' does not match output of 'solana-keygen pubkey' #17325
Comments
Correct. As of v1.6.9, cc @t-nelson , let's consider updating |
Yeah I think updating it with the new keypair file changes makes sense. I'm hoping to get to those this week. Perhaps a docs update to mention the legacy, raw usage is sufficient in the mean time? |
Per solana-labs#17325 (comment), this change adds a note to the paper wallet docs mentioning the use of the `ASK` keyword. Also specifes that the `solana-keygen pubkey prompt://` command returns a derived bip44 base address. (I'm new to Solana development and this was a point of confusion for me, only resolved by finding this issue)
* Add note about ASK keyword to paper wallet doc Per #17325 (comment), this change adds a note to the paper wallet docs mentioning the use of the `ASK` keyword. Also specifes that the `solana-keygen pubkey prompt://` command returns a derived bip44 base address. (I'm new to Solana development and this was a point of confusion for me, only resolved by finding this issue) * Update docs/src/wallet-guide/paper-wallet.md Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com> Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
* Add note about ASK keyword to paper wallet doc Per #17325 (comment), this change adds a note to the paper wallet docs mentioning the use of the `ASK` keyword. Also specifes that the `solana-keygen pubkey prompt://` command returns a derived bip44 base address. (I'm new to Solana development and this was a point of confusion for me, only resolved by finding this issue) * Update docs/src/wallet-guide/paper-wallet.md Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com> Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com> (cherry picked from commit 3be5715)
* Add note about ASK keyword to paper wallet doc Per #17325 (comment), this change adds a note to the paper wallet docs mentioning the use of the `ASK` keyword. Also specifes that the `solana-keygen pubkey prompt://` command returns a derived bip44 base address. (I'm new to Solana development and this was a point of confusion for me, only resolved by finding this issue) * Update docs/src/wallet-guide/paper-wallet.md Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com> Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com> (cherry picked from commit 3be5715) Co-authored-by: Brent Fitzgerald <burnto@gmail.com>
I ran into this issue 6 months after it was first reported: https://twitter.com/nileshtrivedi/status/1459422751979151363 |
Use |
Yes. That's a big trouble for me as I was trying to import private key into phantom and it was saying incorrect format. I was just doing an NFT experiment and uploading in the devnet.. YES solana-keygen new doesn't support bip32 yet. I copied the devnet.jason content and it was all 213,45,23,80.....format I raised a ticket. |
But how can I get private key for pubkey from P.S. Solution: |
Problem
When i run
solana-keygen new --no-outfile
with no extra passphrase, it generates the keypair like normal and displays a different pubkey compared to the output ofsolana-keygen pubkey prompt://
(and inputting the newly generated seed phrase).I am using 1.6.9.
I also tested on 1.6.7 with the same command to generate and
solana-keygen pubkey ask://
to verify the public key.And they match! But not on 1.6.9 anymore...
The text was updated successfully, but these errors were encountered: