Skip to content

Commit

Permalink
lightning-hsmtool.8.md: Update documentation showing new method
Browse files Browse the repository at this point in the history
  • Loading branch information
bstin authored Feb 22, 2024
1 parent 9ef5190 commit 962b607
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion doc/lightning-hsmtool.8.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ and is usually no greater than the number of channels that the node has
ever had.
Specify *password* if the `hsm_secret` is encrypted.

**generatehsmbyarg** *hsm\_secret\_path* *lang\_id* *seed\_phrase* \[*passphrase*\]

Generates a new hsm\_secret using BIP39 arguments supplied via command-line.
*lang\_id* is the language ID (ie. 0=English). *seed\_phrase* a valid 12 / 24 word
seed phrase. *passphrase* is optional passphrase (extra word(s)), can be omitted.

**generatehsm** *hsm\_secret\_path*
Generates a new hsm\_secret using BIP39.

Expand Down Expand Up @@ -112,4 +118,3 @@ COPYING
Note: the modules in the ccan/ directory have their own licenses, but
the rest of the code is covered by the BSD-style MIT license.
Main web site: <https://github.com/ElementsProject/lightning>

0 comments on commit 962b607

Please sign in to comment.