Your company here, and a link to your site. Click to find out more.

bitcoin-wallet - Man Page

manual page for bitcoin-wallet v27.0.0


Bitcoin Core bitcoin-wallet version v27.0.0

bitcoin-wallet is an offline tool for creating and interacting with Bitcoin Core wallet files. By default bitcoin-wallet will act on wallets in the default mainnet wallet directory in the datadir. To change the target wallet, use the -datadir, -wallet and -regtest/-signet/-testnet arguments.


bitcoin-wallet [options] <command>



Print this help message and exit


Specify data directory


Create descriptors wallet. Only for 'create'

-dumpfile=<file name>

When used with 'dump', writes out the records to this file. When used with 'createfromdump', loads the records into a new wallet.


The format of the wallet file to create. Either "bdb" or "sqlite". Only used with 'createfromdump'


Create legacy wallet. Only for 'create'


Print version and exit


Specify wallet name

Debugging/Testing options:

Output debugging information (default: 0).
Send trace/debug info to console (default: 1 when no -debug is true, 0 otherwise).

Chain selection options:


Use the chain <chain> (default: main). Allowed values: main, test, signet, regtest


Use the signet chain. Equivalent to -chain=signet. Note that the network is defined by the -signetchallenge parameter


Blocks must satisfy the given script to be considered valid (only for signet networks; defaults to the global default signet test network challenge)


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))


Use the test chain. Equivalent to -chain=test.



Create new wallet file


Create new wallet file from dumped records


Print out all of the wallet key-value records


Get wallet info


Attempt to recover private keys from a corrupt wallet. Warning: 'salvage' is experimental.


April 2024 bitcoin-wallet v27.0.0