A key generation utility with vanity address support.
Subkey is a commandline utility included with Substrate that generates or restores Substrate keys.
Usage:
`subkey` will use the http://wiki.polkadot.network/en/latest/polkadot/learn/cryptography/#keypairs-and-signing[sr25519] cryptography by default. If you need to use the older ed25519 cryptography to generate or restore your key pass the `--ed25519` flag to any of the commands.
subkey <search string> <number of keys>
== Usage
Sample use:
=== Generate a random account
$ subkey
or
$ subkey polka
or
$ subkey polka 3
```bash
subkey generate
```
Will output a mnemonic phrase and give you the seed, public key, and address of a new account. DO NOT SHARE your mnemonic or seed with ANYONE it will give them access to your funds. If someone is making a transfer to you they will only need your **Address**.
You can use the included vanity generator to find a seed that provides an address which includes the desired pattern. Be warned, depending on your hardware this may take a while.