|
| 1 | +## chantools |
| 2 | + |
| 3 | +Chantools helps recover funds from lightning channels |
| 4 | + |
| 5 | +### Synopsis |
| 6 | + |
| 7 | +This tool provides helper functions that can be used rescue |
| 8 | +funds locked in lnd channels in case lnd itself cannot run |
| 9 | +properly anymore. |
| 10 | + |
| 11 | +Complete documentation is available at https://github.com/guggero/chantools/. |
| 12 | + |
| 13 | +### Options |
| 14 | + |
| 15 | +``` |
| 16 | + -h, --help help for chantools |
| 17 | + -r, --regtest Indicates if regtest parameters should be used |
| 18 | + -t, --testnet Indicates if testnet parameters should be used |
| 19 | +``` |
| 20 | + |
| 21 | +### SEE ALSO |
| 22 | + |
| 23 | +* [chantools chanbackup](chantools_chanbackup.md) - Create a channel.backup file from a channel database |
| 24 | +* [chantools compactdb](chantools_compactdb.md) - Create a copy of a channel.db file in safe/read-only mode |
| 25 | +* [chantools derivekey](chantools_derivekey.md) - Derive a key with a specific derivation path |
| 26 | +* [chantools dumpbackup](chantools_dumpbackup.md) - Dump the content of a channel.backup file |
| 27 | +* [chantools dumpchannels](chantools_dumpchannels.md) - Dump all channel information from an lnd channel database |
| 28 | +* [chantools filterbackup](chantools_filterbackup.md) - Filter an lnd channel.backup file and remove certain channels |
| 29 | +* [chantools fixoldbackup](chantools_fixoldbackup.md) - Fixes an old channel.backup file that is affected by the lnd issue #3881 (unable to derive shachain root key) |
| 30 | +* [chantools forceclose](chantools_forceclose.md) - Force-close the last state that is in the channel.db provided |
| 31 | +* [chantools genimportscript](chantools_genimportscript.md) - Generate a script containing the on-chain keys of an lnd wallet that can be imported into other software like bitcoind |
| 32 | +* [chantools removechannel](chantools_removechannel.md) - Remove a single channel from the given channel DB |
| 33 | +* [chantools rescueclosed](chantools_rescueclosed.md) - Try finding the private keys for funds that are in outputs of remotely force-closed channels |
| 34 | +* [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 |
| 35 | +* [chantools showrootkey](chantools_showrootkey.md) - Extract and show the BIP32 HD root key from the 24 word lnd aezeed |
| 36 | +* [chantools signrescuefunding](chantools_signrescuefunding.md) - Rescue funds locked in a funding multisig output that never resulted in a proper channel; this is the command the remote node (the non-initiator) of the channel needs to run |
| 37 | +* [chantools summary](chantools_summary.md) - Compile a summary about the current state of channels |
| 38 | +* [chantools sweeptimelock](chantools_sweeptimelock.md) - Sweep the force-closed state after the time lock has expired |
| 39 | +* [chantools sweeptimelockmanual](chantools_sweeptimelockmanual.md) - Sweep the force-closed state of a single channel manually if only a channel backup file is available |
| 40 | +* [chantools vanitygen](chantools_vanitygen.md) - Generate a seed with a custom lnd node identity public key that starts with the given prefix |
| 41 | +* [chantools walletinfo](chantools_walletinfo.md) - Shows info about an lnd wallet.db file and optionally extracts the BIP32 HD root key |
| 42 | + |
0 commit comments