You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -424,6 +424,7 @@ Available Commands:
424
424
filterbackup Filter an lnd channel.backup file and remove certain channels
425
425
fixoldbackup Fixes an old channel.backup file that is affected by the lnd issue #3881 (unable to derive shachain root key)
426
426
forceclose Force-close the last state that is in the channel.db provided
427
+
scbforceclose Force-close the last state that is in the SCB provided
427
428
genimportscript Generate a script containing the on-chain keys of an lnd wallet that can be imported into other software like bitcoind
428
429
migratedb Apply all recent lnd channel database migrations
429
430
pullanchor Attempt to CPFP an anchor output of a channel
@@ -496,6 +497,7 @@ Legend:
496
497
|[removechannel](doc/chantools_removechannel.md)| (:skull::warning:) Remove a single channel from a `channel.db` file |
497
498
|[rescueclosed](doc/chantools_rescueclosed.md)|:pencil: (:pushpin:) Rescue funds in a legacy (pre `STATIC_REMOTE_KEY`) channel output |
498
499
|[rescuefunding](doc/chantools_rescuefunding.md)|:pencil: (:pushpin:) Rescue funds from a funding transaction. Deprecated, use [zombierecovery](doc/chantools_zombierecovery.md) instead |
500
+
|[scbforceclose](doc/chantools_scbforceclose.md)|:pencil::warning::skull: Force close a channel using the latest state from a channel backup. EXTREMELY DANGEROUS, read help text! |
499
501
|[showrootkey](doc/chantools_showrootkey.md)|:pencil: Display the master root key (`xprv`) from your seed (DO NOT SHARE WITH ANYONE) |
500
502
|[signmessage](doc/chantools_signmessage.md)|:pencil: Sign a message with the nodes identity pubkey. |
501
503
|[signpsbt](doc/chantools_signpsbt.md)|:pencil: Sign a Partially Signed Bitcoin Transaction (PSBT) |
*[chantools rescueclosed](chantools_rescueclosed.md) - Try finding the private keys for funds that are in outputs of remotely force-closed channels
44
44
*[chantools rescuefunding](chantools_rescuefunding.md) - Rescue funds locked in a funding multisig output that never resulted in a proper channel; this is the command the initiator of the channel needs to run
45
45
*[chantools rescuetweakedkey](chantools_rescuetweakedkey.md) - Attempt to rescue funds locked in an address with a key that was affected by a specific bug in lnd
46
+
*[chantools scbforceclose](chantools_scbforceclose.md) - Force-close the last state that is in the SCB provided
46
47
*[chantools showrootkey](chantools_showrootkey.md) - Extract and show the BIP32 HD root key from the 24 word lnd aezeed
47
48
*[chantools signmessage](chantools_signmessage.md) - Sign a message with the node's private key.
48
49
*[chantools signpsbt](chantools_signpsbt.md) - Sign a Partially Signed Bitcoin Transaction (PSBT)
--apiurl string API URL to use (must be esplora compatible) (default "https://api.node-recovery.com")
35
+
--bip39 read a classic BIP39 seed and passphrase from the terminal instead of asking for lnd seed format or providing the --rootkey flag
36
+
-h, --help help for scbforceclose
37
+
--multi_backup string a hex encoded multi-channel backup obtained from exportchanbackup for force-closing channels
38
+
--multi_file string the path to a single-channel backup file (channel.backup)
39
+
--publish publish force-closing TX to the chain API instead of just printing the TX
40
+
--rootkey string BIP32 HD root key of the wallet to use for decrypting the backup and signing tx; leave empty to prompt for lnd 24 word aezeed
41
+
--single_backup string a hex encoded single channel backup obtained from exportchanbackup for force-closing channels
42
+
--single_file string the path to a single-channel backup file
43
+
--walletdb string read the seed/master root key to use for decrypting the backup and signing tx from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
44
+
```
45
+
46
+
### Options inherited from parent commands
47
+
48
+
```
49
+
-r, --regtest Indicates if regtest parameters should be used
50
+
-s, --signet Indicates if the public signet parameters should be used
51
+
-t, --testnet Indicates if testnet parameters should be used
52
+
```
53
+
54
+
### SEE ALSO
55
+
56
+
*[chantools](chantools.md) - Chantools helps recover funds from lightning channels
0 commit comments