1BITCOIN-WALLET(1) User Commands BITCOIN-WALLET(1)
2
3
4
6 bitcoin-wallet - manual page for bitcoin-wallet v25.1.0
7
9 Bitcoin Core bitcoin-wallet version v25.1.0
10
11 bitcoin-wallet is an offline tool for creating and interacting with
12 Bitcoin Core wallet files. By default bitcoin-wallet will act on wal‐
13 lets in the default mainnet wallet directory in the datadir. To change
14 the target wallet, use the -datadir, -wallet and
15 -regtest/-signet/-testnet arguments.
16
17 Usage:
18 bitcoin-wallet [options] <command>
19
21 -?
22
23 Print this help message and exit
24
25 -datadir=<dir>
26
27 Specify data directory
28
29 -descriptors
30
31 Create descriptors wallet. Only for 'create'
32
33 -dumpfile=<file name>
34
35 When used with 'dump', writes out the records to this file. When
36 used with 'createfromdump', loads the records into a new wallet.
37
38 -format=<format>
39
40 The format of the wallet file to create. Either "bdb" or
41 "sqlite". Only used with 'createfromdump'
42
43 -legacy
44
45 Create legacy wallet. Only for 'create'
46
47 -version
48
49 Print version and exit
50
51 -wallet=<wallet-name>
52
53 Specify wallet name
54
55 Debugging/Testing options:
56
57 -debug=<category>
58
59 Output debugging information (default: 0).
60
61 -printtoconsole
62
63 Send trace/debug info to console (default: 1 when no -debug is
64 true, 0 otherwise).
65
66 Chain selection options:
67
68 -chain=<chain>
69
70 Use the chain <chain> (default: main). Allowed values: main,
71 test, signet, regtest
72
73 -signet
74
75 Use the signet chain. Equivalent to -chain=signet. Note that the
76 network is defined by the -signetchallenge parameter
77
78 -signetchallenge
79
80 Blocks must satisfy the given script to be considered valid
81 (only for signet networks; defaults to the global default signet
82 test network challenge)
83
84 -signetseednode
85
86 Specify a seed node for the signet network, in the host‐
87 name[:port] format, e.g. sig.net:1234 (may be used multiple
88 times to specify multiple seed nodes; defaults to the global de‐
89 fault signet test network seed node(s))
90
91 -testnet
92
93 Use the test chain. Equivalent to -chain=test.
94
95 Commands:
96
97 create
98
99 Create new wallet file
100
101 createfromdump
102
103 Create new wallet file from dumped records
104
105 dump
106
107 Print out all of the wallet key-value records
108
109 info
110
111 Get wallet info
112
113 salvage
114
115 Attempt to recover private keys from a corrupt wallet. Warning:
116 'salvage' is experimental.
117
119 Copyright (C) 2009-2023 The Bitcoin Core developers
120
121 Please contribute if you find Bitcoin Core useful. Visit <https://bit‐
122 coincore.org/> for further information about the software. The source
123 code is available from <https://github.com/bitcoin/bitcoin>.
124
125 This is experimental software. Distributed under the MIT software li‐
126 cense, see the accompanying file COPYING or <https://opensource.org/li‐
127 censes/MIT>
128
129
130
131bitcoin-wallet v25.1.0 October 2023 BITCOIN-WALLET(1)