Skip to content

Commit

Permalink
docs: edit username details since I missed #540 (#542)
Browse files Browse the repository at this point in the history
* username details

* fixit edit to Update x/pylons/client/cli/tx_account.go

Co-authored-by: Barrie Byron <[email protected]>
  • Loading branch information
Barrie Byron and Barrie Byron authored Dec 16, 2021
1 parent 79a1ff4 commit dbf44bf
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions x/pylons/client/cli/tx_account.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,14 @@ func CmdCreateAccount() *cobra.Command {
Long: `
Create a new account using an existing key from the keyring.
A valid username should respect the following rules :
A valid username must respect the following rules:
Usernames can consist of lowercase and capitals
Usernames can consist of alphanumeric characters
Usernames can consist of underscore and hyphens and spaces
Cannot be two underscores, two hypens or two spaces in a row
Cannot have a underscore, hypen or space at the start or end
Cannot be a valid cosmos SDK address
- Contain alphanumeric characters (a-z, A-Z, 0-9)
- Contain non-repeating underscore (_), hyphen (-), and space characters
- Cannot begin or end with (_), hyphen (-), or space
- Cannot be an existing valid Cosmos SDK address
Note that the username and the key name used to sign the transaction _are not the same_.
Note that the username and the key name that are used to sign the transaction _are not the same_.
`,
Example: `
Expand Down

0 comments on commit dbf44bf

Please sign in to comment.