<p>There is a list of BIPs at <a href="https://github.com/bitcoin/bips" rel="nofollow noreferrer">https://github.com/bitcoin/bips</a></p>

<p>I don't see anything that specifies a wallet format. </p>

<p>To be honest I'd be surprised to see one. This is something that each implementation ought to determine for itself, Some wallets might use an embedded SQL DBMS, some a Berkely DB format, some a JSON store of some sort and so on. Similarly, the contents may depend on what unique features and facilities the wallet offers. Wallets might be multicurrency or even multiuser, they might have settings for GUI skins that need to be saved as part of a wallet backup, they might have IDs for associated exchange or other services.</p>

CC BY-SA 4.0
2019-07-25T22:59:34.313Z
I'd say there isn't even agreement on what a wallet _is_. To some it's a seed phrase, to some it's a private key, to some it's a website, to some it's a file (with just keys, or keys + transactions, or more). And that's ok.
Pieter Wuille
CC BY-SA 4.0
2019-07-26T03:41:35.163Z
Thanks! You calmed me, I can safely work myself. :)
Джон Смит
CC BY-SA 4.0
2019-07-25T12:45:31.260Z
2019-07-25T12:56:41.683Z
2019-07-25T12:56:41.683Z
RedGrittyBrick
<p>My app is able to create a public and private key from BIP39. The uncompressed private key is concatenated with a sha256 (private key) and then encrypted via AES and saved to a file. To decrypt, you will need to decrypt the entire file, then take a hash from the first order of bytes and compare with the second half.</p>

<p>I plan to add support for BIP32, 43, 44 and am already working on it, but I am faced with the issue of storing information for creating backup.</p>

<p>My way of creating a file is not suitable, so I’m wondering if there is a ready-made BIP to solve this problem.</p>

<wallet><bip32-hd-wallets><bip44>
Which BIP describes the structure and algorithm for creating a wallet file?
Джон Смит
# Which BIP describes the structure and algorithm for creating a wallet file?

(Asked by: username_0 on 2019-07-25)

My app is able to create a public and private key from BIP39. The uncompressed private key is concatenated with a sha256 (private key) and then encrypted via AES and saved to a file. To decrypt, you will need to decrypt the entire file, then take a hash from the first order of bytes and compare with the second half.

I plan to add support for BIP32, 43, 44 and am already working on it, but I am faced with the issue of storing information for creating backup.

My way of creating a file is not suitable, so I’m wondering if there is a ready-made BIP to solve this problem.

**Tags:** wallet, bip32-hd-wallets, bip44


---

## 1 answers

### Answer by username_1 on 2019-07-25. Score: 1 | Accepted answer

There is a list of BIPs at <https://github.com/bitcoin/bips>

I don't see anything that specifies a wallet format.

To be honest I'd be surprised to see one. This is something that each implementation ought to determine for itself, Some wallets might use an embedded SQL DBMS, some a Berkely DB format, some a JSON store of some sort and so on. Similarly, the contents may depend on what unique features and facilities the wallet offers. Wallets might be multicurrency or even multiuser, they might have settings for GUI skins that need to be saved as part of a wallet backup, they might have IDs for associated exchange or other services.

> **Comments:**
> **username_2**: I'd say there isn't even agreement on what a wallet _is_. To some it's a seed phrase, to some it's a private key, to some it's a website, to some it's a file (with just keys, or keys + transactions, or more). And that's ok.  
> **username_0**: Thanks! You calmed me, I can safely work myself. :)  

---

