createwallet

Input(s) 7

This command creates a new wallet, offering options for encryption, disabling private keys, and enabling blank wallets.

How is this used?

Picture your physical wallet having the ability to conjure separate compartments for various needs—one for groceries, another for savings, and a third for leisure spending. The 'createwallet' command in Bitcoin Core brings a similar concept to life for your digital currency. It enables you to craft new, distinct wallets within the same Bitcoin Core software, each with its own name and settings tailored to specific purposes or financial goals, akin to creating customized pockets for your diverse storing requirements.

Request

method

createwallet

wallet_name

Required

disable_private_keys

Optional

blank

Optional

passphrase

Optional

avoid_reuse

Optional

descriptors

Optional

load_on_startup

Optional

Inputs(7)

one required input remaining...

wallet_name (required) - The name for the new wallet. If this is a path, the wallet will be created at the path location.
disable_private_keys Disable the possibility of private keys (only watchonlys are possible in this mode).
blank Create a blank wallet. A blank wallet has no keys or HD seed. One can be set using sethdseed.
passphrase Create a blank wallet. A blank wallet has no keys or HD seed. One can be set using sethdseed.
avoid_reuse Keep track of coin reuse, and treat dirty and clean coins differently with privacy considerations in mind.
descriptors Create a native descriptor wallet. The wallet will use descriptors internally to handle address creation. Setting to 'false' will create a legacy wallet
load_on_startup Save wallet name to persistent settings and load on startup. True to add wallet to startup list, false to remove, null to leave unchanged.

Result