1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.13.
.TH BITCOIN-WALLET "1" "August 2021" "bitcoin-wallet v22.0rc2" "User Commands"
.SH NAME
bitcoin-wallet manual page for bitcoin-wallet v22.0rc2
.SH DESCRIPTION
Bitcoin Core bitcoinwallet version v22.0rc2
.PP
bitcoinwallet is an offline tool for creating and interacting with Bitcoin Core wallet files.
By default bitcoinwallet will act on wallets in the default mainnet wallet directory in the datadir.
To change the target wallet, use the \fBdatadir\fR, \fBwallet\fR and \fBtestnet\fR/regtest arguments.
.SS "Usage:"
.IP
bitcoinwallet [options] <command>
.SH OPTIONS
.HP
?
.IP
Print this help message and exit
.HP
\fBdatadir=\fR<dir>
.IP
Specify data directory
.HP
\fBdescriptors\fR
.IP
Create descriptors wallet. Only for 'create'
.HP
\fBdumpfile=\fR<file name>
.IP
When used with 'dump', writes out the records to this file. When used
with 'createfromdump', loads the records into a new wallet.
.HP
\fBformat=\fR<format>
.IP
The format of the wallet file to create. Either "bdb" or "sqlite". Only
used with 'createfromdump'
.HP
\fBversion\fR
.IP
Print version and exit
.HP
\fBwallet=\fR<walletname>
.IP
Specify wallet name
.PP
Debugging/Testing options:
.HP
\fBdebug=\fR<category>
.IP
Output debugging information (default: 0).
.HP
\fBprinttoconsole\fR
.IP
Send trace/debug info to console (default: 1 when no \fBdebug\fR is true, 0
otherwise).
.PP
Chain selection options:
.HP
\fBchain=\fR<chain>
.IP
Use the chain <chain> (default: main). Allowed values: main, test,
signet, regtest
.HP
\fBsignet\fR
.IP
Use the signet chain. Equivalent to \fBchain\fR=\fI\,signet\/\fR. Note that the network
is defined by the \fBsignetchallenge\fR parameter
.HP
\fBsignetchallenge\fR
.IP
Blocks must satisfy the given script to be considered valid (only for
signet networks; defaults to the global default signet test
network challenge)
.HP
\fBsignetseednode\fR
.IP
Specify a seed node for the signet network, in the hostname[:port]
format, e.g. sig.net:1234 (may be used multiple times to specify
multiple seed nodes; defaults to the global default signet test
network seed node(s))
.HP
\fBtestnet\fR
.IP
Use the test chain. Equivalent to \fBchain\fR=\fI\,test\/\fR.
.PP
Commands:
.IP
create
.IP
Create new wallet file
.IP
createfromdump
.IP
Create new wallet file from dumped records
.IP
dump
.IP
Print out all of the wallet keyvalue records
.IP
info
.IP
Get wallet info
.IP
salvage
.IP
Attempt to recover private keys from a corrupt wallet. Warning:
\&'salvage' is experimental.
|