Difference between revisions of "Wallet"

From Bitcoin Wiki
Jump to: navigation, search
(Improving the intro to indicate more common use of the term "wallet" as software for managing keys instead of a file. This matches https://bitcoin.org/en/choose-your-wallet)
(Bitcoin Qt: Improving the "bitkeys" format link, changing header to Bitcoin Core, simplifying body.)
Line 1: Line 1:
 
A Bitcoin '''wallet''' is a piece of software used to manage private keys and to make transactions on the Bitcoin network.  Wallets may offer additional features such as address labels, contacts, signing messages, etc.
 
A Bitcoin '''wallet''' is a piece of software used to manage private keys and to make transactions on the Bitcoin network.  Wallets may offer additional features such as address labels, contacts, signing messages, etc.
  
=== Bitcoin Qt ===
+
=== [[Bitcoin Core]] ===
  
The original Bitcoin [[Clients|client]] stores private key information in a file named '''wallet.dat''' acording to the so called <ref>[https://bitcointalk.org/index.php?topic=4448.0 Wallet import/export: "bitkeys" format]</ref>:
+
The original Bitcoin [[Clients|client]] stores private key information in a file named '''wallet.dat''' following the so called [https://bitcointalk.org/index.php?topic=4448.0 "bitkeys"] format:
  
 
* keypairs for each of your [[address|addresses]]
 
* keypairs for each of your [[address|addresses]]
Line 15: Line 15:
 
* Since 0.3.21: information about the current best chain, to be able to rescan automatically when restoring from a backup.
 
* Since 0.3.21: information about the current best chain, to be able to rescan automatically when restoring from a backup.
  
The data file for the wallet is wallet.dat and is located in the [[data directory|Bitcoin data directory]].
+
The wallet.dat file is located in the [[data directory|Bitcoin data directory]].
  
It is intended that a wallet be used on only one installation of Bitcoin at a time.  Attempting to clone a wallet for use on multiple computers will result in "weird behavior"<ref>[http://forum.bitcoin.org/index.php?topic=5324.msg77896#msg77896 Multiple instance of bitcoin with the same wallet]</ref>.
+
It is intended that a wallet file be used on only one installation of Bitcoin at a time.  Attempting to clone a wallet file for use on multiple computers will result in "weird behavior"<ref>[http://forum.bitcoin.org/index.php?topic=5324.msg77896#msg77896 Multiple instance of bitcoin with the same wallet]</ref>.
  
 
The format of this file is Berkeley DB.  Tools that can manipulate wallet files include [[pywallet]].
 
The format of this file is Berkeley DB.  Tools that can manipulate wallet files include [[pywallet]].

Revision as of 20:38, 6 April 2016

A Bitcoin wallet is a piece of software used to manage private keys and to make transactions on the Bitcoin network. Wallets may offer additional features such as address labels, contacts, signing messages, etc.

Bitcoin Core

The original Bitcoin client stores private key information in a file named wallet.dat following the so called "bitkeys" format:

  • keypairs for each of your addresses
  • transactions done from/to your addresses
  • user preferences
  • default key
  • reserve keys
  • accounts
  • a version number
  • Key pool
  • Since 0.3.21: information about the current best chain, to be able to rescan automatically when restoring from a backup.

The wallet.dat file is located in the Bitcoin data directory.

It is intended that a wallet file be used on only one installation of Bitcoin at a time. Attempting to clone a wallet file for use on multiple computers will result in "weird behavior"[1].

The format of this file is Berkeley DB. Tools that can manipulate wallet files include pywallet.

Armory

The Armory client uses a custom binary wallet format and runs on top of Bitcoin-Core[2].

Blockchain.info

Blockchain.info use a plain text JSON wallet format documented here. Private keys Keys are stored in base58.


Cubits

Cubits.com has both cold and hot wallet, with all user's funds stored securely in the cold wallet.

Multibit

Multibit uses the bitcoinj protobuf wallet file.


See Also

References