Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

subkey readme update on install #9900

Merged
1 commit merged into from
Sep 30, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions bin/utils/subkey/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,19 @@ If you save any output of `subkey` into a file, make sure to apply proper permis

The following guide explains *some* of the `subkey` commands. For the full list and the most up to date documentation, make sure to check the integrated help with `subkey --help`.

### Install with Cargo

You will need to have the Substrate build dependencies to install Subkey. Use the following two commands to install the dependencies and Subkey, respectively:

Command:

```bash
# Use the `--fast` flag to get the dependencies without needing to install the Substrate and Subkey binary
curl https://getsubstrate.io -sSf | bash -s -- --fast
# Install only `subkey`, at a specific version of the this subkey crate
cargo install --force subkey --git https://github.com/paritytech/substrate --version <SET VERSION> --locked
```

### Generate a random account

Generating a new key is as simple as running:
Expand Down