Skip to content

Commit fb65ec9

Browse files
bstinrustyrussell
authored andcommitted
lightning-hsmtool.8.md: Update documentation showing new method
[ Modified to extend generatehsm --RR ]
1 parent b7d77b4 commit fb65ec9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

doc/lightning-hsmtool.8.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ and is usually no greater than the number of channels that the node has
5353
ever had.
5454
Specify *password* if the `hsm_secret_path` is encrypted.
5555

56-
**generatehsm** *hsm\_secret\_path*
57-
Generates a new hsm\_secret using BIP39.
56+
**generatehsm** *hsm\_secret\_path* \[*lang* *seed\_phrase* \[*passphrase*\]\]
57+
Generates a new hsm\_secret using BIP39. If lang, seed\_phrase and optional passphrase are not provided they will be prompted for. *lang* can be "en" (English), "es" (Spanish), "fr" (French), "it" ("Italian"), "jp" (Japanese), "zhs" (Chinese Simplified) or "zht" ("Chinese Traditional"). Note that the seed phrase consists of multiple words, so should be surrounded by quotes.
5858

5959
**checkhsm** *hsm\_secret\_path*
6060
Checks that hsm\_secret matches a BIP39 passphrase.
@@ -117,4 +117,3 @@ COPYING
117117
Note: the modules in the ccan/ directory have their own licenses, but
118118
the rest of the code is covered by the BSD-style MIT license.
119119
Main web site: <https://github.com/ElementsProject/lightning>
120-

0 commit comments

Comments
 (0)