diff --git a/README.md b/README.md index 86bcd648a..eaeef11d5 100644 --- a/README.md +++ b/README.md @@ -112,18 +112,14 @@ Additional information on how IBC works can be found [here](https://ibc.cosmos.n $ rly keys restore osmosis [key-name] "mnemonic words here" ``` -5. **Edit the relayer's `key` values in the config file to match the `key-name`'s chosen above.** +5. **Use the `key-name` created above.** >This step is necessary if you chose a `key-name` other than "default" - Example: - ```yaml - - type: cosmos - value: - key: YOUR-KEY-NAME-HERE - chain-id: cosmoshub-4 - rpc-addr: http://localhost:26657 - ``` + ```shell + $ rly keys use cosmoshub [key-name] + $ rly keys use osmosis [key-name] + ``` 6. **Ensure the keys associated with the configured chains are funded.** diff --git a/cmd/keys.go b/cmd/keys.go index fb09cf46f..ad853cf05 100644 --- a/cmd/keys.go +++ b/cmd/keys.go @@ -60,8 +60,8 @@ func keysUseCmd(a *appState) *cobra.Command { cmd := &cobra.Command{ Use: "use chain_name key_name", - Aliases: []string{"a"}, - Short: "Use a key from the keychain associated with a particular chain. Look at ~/.relayer/keys/ibc-0/keyring-test ", + Aliases: []string{"u"}, + Short: "Use a key from the keychain associated with a particular chain. Run 'rly keys list ibc-0' to view available keys", Args: withUsage(cobra.ExactArgs(2)), Example: strings.TrimSpace(fmt.Sprintf(` $ %s keys use ibc-0 key_name`, appName)),