Add note about ASK keyword to paper wallet doc (#19330) (#19343)

* Add note about ASK keyword to paper wallet doc

Per https://github.com/solana-labs/solana/issues/17325#issuecomment-844434585, 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 3be5715f45)

Co-authored-by: Brent Fitzgerald <burnto@gmail.com>
This commit is contained in:
mergify[bot]
2021-08-20 15:20:09 +00:00
committed by GitHub
parent b5b1ed2a55
commit de5f503a76

View File

@ -82,6 +82,7 @@ For full usage details run:
solana-keygen new --help solana-keygen new --help
``` ```
### Public Key Derivation ### Public Key Derivation
Public keys can be derived from a seed phrase and a passphrase if you choose to Public keys can be derived from a seed phrase and a passphrase if you choose to
@ -107,11 +108,17 @@ solana-keygen pubkey prompt:// --skip-seed-phrase-validation
``` ```
After entering your seed phrase with `solana-keygen pubkey prompt://` the console After entering your seed phrase with `solana-keygen pubkey prompt://` the console
will display a string of base-58 character. This is the base _wallet address_ will display a string of base-58 character. This is the [derived](#hierarchical-derivation) solana BIP44 _wallet address_
associated with your seed phrase. associated with your seed phrase.
> Copy the derived address to a USB stick for easy usage on networked computers > Copy the derived address to a USB stick for easy usage on networked computers
If needed, you can access the legacy, raw keypair's pubkey by instead passing the `ASK` keyword:
```bash
solana-keygen pubkey ASK
```
> A common next step is to [check the balance](#checking-account-balance) of the account associated with a public key > A common next step is to [check the balance](#checking-account-balance) of the account associated with a public key
For full usage details run: For full usage details run: