Paper wallet: fix URI scheme (#20233)
This commit is contained in:
parent
34406d4815
commit
38844a7010
|
@ -9,13 +9,11 @@ tools.
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
Solana provides a key generation tool to derive keys from BIP39 compliant seed
|
Solana provides a key generation tool to derive keys from
|
||||||
phrases. Solana CLI commands for running a validator and staking tokens all
|
[BIP39](https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki)-compliant
|
||||||
|
seed phrases. Solana CLI commands for running a validator and staking tokens all
|
||||||
support keypair input via seed phrases.
|
support keypair input via seed phrases.
|
||||||
|
|
||||||
To learn more about the BIP39 standard, visit the Bitcoin BIPs Github repository
|
|
||||||
[here](https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki).
|
|
||||||
|
|
||||||
## Paper Wallet Usage
|
## Paper Wallet Usage
|
||||||
|
|
||||||
Solana commands can be run without ever saving a keypair to disk on a machine.
|
Solana commands can be run without ever saving a keypair to disk on a machine.
|
||||||
|
@ -61,7 +59,7 @@ have not made any errors.
|
||||||
solana-keygen new --no-outfile
|
solana-keygen new --no-outfile
|
||||||
```
|
```
|
||||||
|
|
||||||
> If the `--no-outfile` flag is **omitted**, the default behavior is to write the keypair to `~/.config/solana/id.json`, resulting in a [file system wallet](file-system-wallet.md)
|
> If the `--no-outfile` flag is **omitted**, the default behavior is to write the keypair to `~/.config/solana/id.json`, resulting in a [file system wallet](file-system-wallet.md).
|
||||||
|
|
||||||
The output of this command will display a line like this:
|
The output of this command will display a line like this:
|
||||||
|
|
||||||
|
@ -76,7 +74,7 @@ and "wallet address" are sometimes used interchangably.
|
||||||
|
|
||||||
> For added security, increase the seed phrase word count using the `--word-count` argument
|
> For added security, increase the seed phrase word count using the `--word-count` argument
|
||||||
|
|
||||||
For full usage details run:
|
For full usage details, run:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
solana-keygen new --help
|
solana-keygen new --help
|
||||||
|
@ -89,7 +87,7 @@ Public keys can be derived from a seed phrase and a passphrase if you choose to
|
||||||
use one. This is useful for using an offline-generated seed phrase to derive a
|
use one. This is useful for using an offline-generated seed phrase to derive a
|
||||||
valid public key. The `solana-keygen pubkey` command will walk you through how
|
valid public key. The `solana-keygen pubkey` command will walk you through how
|
||||||
to use your seed phrase (and a passphrase if you chose to use one) as a signer
|
to use your seed phrase (and a passphrase if you chose to use one) as a signer
|
||||||
with the solana command-line tools using the `ask` uri scheme.
|
with the solana command-line tools using the `prompt` URI scheme.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
solana-keygen pubkey prompt://
|
solana-keygen pubkey prompt://
|
||||||
|
@ -108,7 +106,7 @@ 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 [derived](#hierarchical-derivation) solana BIP44 _wallet address_
|
will display a string of base-58 characters. 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
|
||||||
|
@ -121,7 +119,7 @@ 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:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
solana-keygen pubkey --help
|
solana-keygen pubkey --help
|
||||||
|
|
Loading…
Reference in New Issue