Creating a Wallet
Wallets can be created using thecreatewallet RPC command or through the GUI.
Using RPC
To create a basic descriptor wallet:Using the GUI
Open Create Wallet Dialog
Click the
Create a new wallet button on the main screen, or navigate to File > Create wallet.Configure Wallet Options
Enter a wallet name and select desired options such as encryption, descriptor wallet type, and watch-only mode.
Wallet Storage Location
By default, wallets are stored in thewallets folder within your data directory:
| Operating System | Default Wallet Directory |
|---|---|
| Linux | /home/<user>/.bitcoin/wallets |
| Windows | C:\Users\<user>\AppData\Local\Bitcoin\wallets |
| macOS | /Users/<user>/Library/Application Support/Bitcoin/wallets |
-datadir or -walletdir initialization parameters.
Loading and Unloading Wallets
Loading a Wallet
Load an existing wallet:File > Open Wallet and select the wallet you want to load.
Unloading a Wallet
Unload a currently loaded wallet:Listing Loaded Wallets
View all currently loaded wallets:Encrypting Wallets
Wallet encryption protects your private keys with a passphrase. However, it significantly increases the risk of losing funds if you forget the passphrase.Encrypting an Existing Wallet
Changing the Passphrase
Unlocking Encrypted Wallets
When performing operations that require private keys (like sending transactions), encrypted wallets must be unlocked:120) specifies the timeout in seconds that the wallet remains unlocked.
Error When Locked
Attempting to send funds from a locked wallet produces an error:Wallet Information
Get detailed information about a wallet:- Wallet name and version
- Balance and transaction count
- Whether the wallet is encrypted
- HD seed status
- Keypool size
- Descriptor wallet status
Understanding Wallet Passphrases
The wallet passphrase is an encryption key for your private keys, not to be confused with the HD seed:- Not the Seed: The passphrase encrypts private keys but is separate from the HD seed that derives keys
- Protection Against Unauthorized Access: Prevents access if someone gains physical access to your device
- Doesn’t Encrypt Metadata: Transaction history and public keys remain visible
- Risk of Fund Loss: A forgotten passphrase results in permanent loss of access to funds
Multiple Wallets
Bitcoin Core supports loading multiple wallets simultaneously. When using RPC commands with multiple wallets loaded, specify which wallet to use with the-rpcwallet parameter: