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

* Fixes

* Simply installation steps

* Remove profile step

* Split up commands

* 2 -> 3
This commit is contained in:
Justin Starry 2019-12-04 15:44:02 -05:00 committed by GitHub
parent 703a5348e8
commit 76829457df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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`
{% endhint %}
First, download the desired release tarball from GitHub. The examples below will
retrieve the most recent release. If you would like to download a specific
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).
## Download
First, download the latest release tarball from GitHub.
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
```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
$ 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
the leading path to `solana-keygen`, add it to your PATH environment variable
with the following command
## Check
Finally, check that `solana-keygen` can be run by running
```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" %}
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`
{% endhint %}
{% hint style="info" %}
For added security, increase the seed phrase word count using the `--word-count`
argumment
argument
{% endhint %}
For full usage details run: