Add doc info about generating keypair (#516)

This commit is contained in:
Jack May 2020-09-22 02:03:25 -07:00 committed by GitHub
parent 1fc9d017e8
commit bb9f0223a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -47,6 +47,7 @@ $ cargo install spl-token-cli
Run `spl-token --help` for a full description of available commands.
### Configuration
The `spl-token` configuration is shared with the `solana` command-line tool.
#### Current Configuration
@ -63,14 +64,18 @@ Keypair Path: ${HOME}/.config/solana/id.json
```
#### Cluster RPC URL
See [Solana clusters](https://docs.solana.com/clusters) for cluster-specific RPC URLs
See [Solana clusters](https://docs.solana.com/clusters) for cluster-specific RPC URLs
```
solana config set --url https://devnet.solana.com
```
#### Default Keypair
See [Keypair conventions]
(https://docs.solana.com/cli/conventions#keypair-conventions) for information on
how to setup a keypair if you don't already have one.
Keypair File
```
solana config set --keypair ${HOME}/new-keypair.json