Fix typo, grammar, and formatting in Paper Wallet documentation (#7268) (#7271)

automerge
This commit is contained in:
mergify[bot]
2019-12-04 13:19:16 -08:00
committed by Grimes
parent 2970f960a4
commit 1fcc391a8d
2 changed files with 32 additions and 18 deletions

View File

@ -5,33 +5,47 @@ Follow this guide to setup Solana's key generation tool called `solana-keygen`
After installation, ensure your version is `0.21.1` or higher by running `solana-keygen -V` After installation, ensure your version is `0.21.1` or higher by running `solana-keygen -V`
{% endhint %} {% endhint %}
First, download the desired release tarball from GitHub. The examples below will ## Download
retrieve the most recent release. If you would like to download a specific First, download the latest release tarball from GitHub.
version instead replace `latest/download` with `download/VERSION` where VERSION
is a tag name from https://github.com/solana-labs/solana/releases (ie. v0.21.1).
MacOS 1. Setup download url
`$ curl -L -sSf -o solana-release.tar.bz2 'https://github.com/solana-labs/solana/releases/latest/download/solana-release-x86_64-apple-darwin.tar.bz2'` ```bash
solana_downloads=https://github.com/solana-labs/solana/releases/latest/download
```
Linux 2. Specify the download file based on your machine
`$ curl -L -sSf -o solana-release.tar.bz2 'https://github.com/solana-labs/solana/releases/latest/download/solana-release-x86_64-unknown-linux-gnu.tar.bz2'` **MacOS**
```bash
solana_release=solana-release-x86_64-apple-darwin.tar.bz2
```
**Linux**
```bash
solana_release=solana-release-x86_64-unknown-linux-gnu.tar.bz2
```
3. Download
```bash
curl -L -sSf -o solana-release.tar.bz2 $solana_downloads/$solana_release
```
## Extract
Next, extract the tarball Next, extract the tarball
```bash ```bash
$ tar xf solana-release.tar.bz2 tar xf solana-release.tar.bz2
``` ```
Finally, `solana-keygen` can be run by ## Add to "PATH"
Now add the tool to your PATH environment variable with the following command
```bash ```bash
$ solana-release/bin/solana-keygen export PATH="$(pwd)/solana-release/bin:${PATH}"
``` ```
If you would like to follow the remainder of these instructions without typing ## Check
the leading path to `solana-keygen`, add it to your PATH environment variable Finally, check that `solana-keygen` can be run by running
with the following command
```bash ```bash
$ export PATH="$(pwd)/solana-release/bin:${PATH}" solana-keygen -V
``` ```
This can be made permanent by adding it to your `~/.profile`

View File

@ -23,13 +23,13 @@ solana-keygen new --no-outfile
``` ```
{% hint style="warning" %} {% hint style="warning" %}
If `--no-outfile` is **not** specified, the default behavior is to write the If the `--no-outfile` flag is **omitted**, the default behavior is to write the
keypair to `~/.config/solana/id.json` keypair to `~/.config/solana/id.json`
{% endhint %} {% endhint %}
{% hint style="info" %} {% hint style="info" %}
For added security, increase the seed phrase word count using the `--word-count` For added security, increase the seed phrase word count using the `--word-count`
argumment argument
{% endhint %} {% endhint %}
For full usage details run: For full usage details run: