Skip to content

Commit

Permalink
Document better the use of bip39-seed
Browse files Browse the repository at this point in the history
  • Loading branch information
np committed Jan 16, 2015
1 parent 3ea9de3 commit a498422
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions hx.hs
Original file line number Diff line number Diff line change
Expand Up @@ -669,9 +669,9 @@ mainArgs _ = error $ unlines ["Unexpected arguments."
,""
,"# MNEMONICS AND SEED FORMATS"
,"hx mnemonic"
,"hx bip39-mnemonic [0]"
,"hx bip39-hex [0]"
,"hx bip39-seed <PASSPHRASE> [0]"
,"hx bip39-seed [<PASSPHRASE>] [0][5]"
,"hx bip39-mnemonic [0][5]"
,"hx bip39-hex [0][5]"
,"hx rfc1751-key [0]"
,"hx rfc1751-mnemonic [0]"
,""
Expand Down Expand Up @@ -730,6 +730,9 @@ mainArgs _ = error $ unlines ["Unexpected arguments."
," This is for this reason that `hash160` has been added"
," (`hx ripemd-hash` is equivalent to `hx encode-hex | hx hash160`"
," and `hx hash160` is equivalent to `hx decode-hex | hx ripemd-hash`)."
,"[5]: The commands `hx bip39-mnemonic` and `hx bip39-hex` are inverse of each other."
," However, this is the command `hx bip39-seed` which must be used to get"
," the root extended private key."
,""
,"PATH ::= <PATH-HEAD> <PATH-CONT>"
,"PATH-HEAD ::= 'A' [address (compressed)]"
Expand Down

0 comments on commit a498422

Please sign in to comment.