From 962b60790b589a758d679175f44ed1b4e54706a5 Mon Sep 17 00:00:00 2001 From: bstin Date: Wed, 21 Feb 2024 18:59:43 -0600 Subject: [PATCH] lightning-hsmtool.8.md: Update documentation showing new method --- doc/lightning-hsmtool.8.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/lightning-hsmtool.8.md b/doc/lightning-hsmtool.8.md index 1f7ef09796bc..29511ebb47f2 100644 --- a/doc/lightning-hsmtool.8.md +++ b/doc/lightning-hsmtool.8.md @@ -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. @@ -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: -