mirror of https://github.com/guggero/chantools
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.6 KiB
Markdown
50 lines
1.6 KiB
Markdown
5 months ago
|
## chantools pullanchor
|
||
|
|
||
|
Attempt to CPFP an anchor output of a channel
|
||
|
|
||
|
### Synopsis
|
||
|
|
||
|
Use this command to confirm a channel force close
|
||
|
transaction of an anchor output channel type. This will attempt to CPFP the
|
||
|
330 byte anchor output created for your node.
|
||
|
|
||
|
```
|
||
|
chantools pullanchor [flags]
|
||
|
```
|
||
|
|
||
|
### Examples
|
||
|
|
||
|
```
|
||
|
chantools pullanchor \
|
||
|
--sponsorinput txid:vout \
|
||
|
--anchoraddr bc1q..... \
|
||
|
--changeaddr bc1q..... \
|
||
|
--feerate 30
|
||
|
```
|
||
|
|
||
|
### Options
|
||
|
|
||
|
```
|
||
|
--anchoraddr string the address of the anchor output (p2wsh output with 330 satoshis)
|
||
|
--apiurl string API URL to use (must be esplora compatible) (default "https://blockstream.info/api")
|
||
|
--bip39 read a classic BIP39 seed and passphrase from the terminal instead of asking for lnd seed format or providing the --rootkey flag
|
||
|
--changeaddr string the change address to send the remaining funds to
|
||
|
--feerate uint32 fee rate to use for the sweep transaction in sat/vByte (default 30)
|
||
|
-h, --help help for pullanchor
|
||
|
--rootkey string BIP32 HD root key of the wallet to use for deriving keys; leave empty to prompt for lnd 24 word aezeed
|
||
|
--sponsorinput string the input to use to sponsor the CPFP transaction; must be owned by the lnd node that owns the anchor output
|
||
|
```
|
||
|
|
||
|
### Options inherited from parent commands
|
||
|
|
||
|
```
|
||
|
-r, --regtest Indicates if regtest parameters should be used
|
||
|
-s, --signet Indicates if the public signet parameters should be used
|
||
|
-t, --testnet Indicates if testnet parameters should be used
|
||
|
```
|
||
|
|
||
|
### SEE ALSO
|
||
|
|
||
|
* [chantools](chantools.md) - Chantools helps recover funds from lightning channels
|
||
|
|