As I know, wallet.dat saves all related data for a bitcoin wallet. However, I don't understand what precisely is saved in the wallet.dat. I think it must contain several private keys. Does it also contain the corresponding public key, and seed value? Anything else?


The wallet.dat file contains your private keys, public keys, scripts (which correspond to addresses), key metadata (e.g. labels), and the transactions related to your wallet. If you have an HD wallet, it also includes the HD seed and and the derivation paths for each private key.

| improve this answer | |
  • So 'backup wallet' is actually mean 'backup wallet.dat' and 'restore in another wallet support wallet.dat format', for all circumstances. Is this correct? – Anderson Nov 22 '17 at 8:38
  • Yes, that is correct. – Andrew Chow Nov 22 '17 at 14:17

Not the answer you're looking for? Browse other questions tagged or ask your own question.