BOMBARCHIVE
Explore

A living reference collection. Written in the wiki, preserved in Git.

The archiveBitcoin

BIP 85

BIP 85 (Deterministic Entropy From BIP32 Keychains) specifies how a BIP 32 master private key can reproducibly generate new entropy for other wallets and applications. Instead of reusing the same recovery phrase in every program, a user can derive separate child recovery phrases, private keys or other secrets while keeping one protected root backup. The proposal was introduced by Ethan Kosakovsky in 2020; Aneesh Karve was added as a co-author in the repository in October 2024. It is a wallet- and application-layer convention, not a Bitcoin consensus rule or a new method of obtaining unpredictable randomness. Original 2020 submission · October 2024 author and specification revisions · Maintained BIP

The distinction from BIP 39 is fundamental. BIP 39 turns entropy into words and then derives seed bytes from a mnemonic and optional passphrase. BIP 85 works in the other direction at the application boundary: it takes a BIP 32 root, derives an application-specific private child and transforms that key into new entropy that may be handed to BIP 39 or another format. It does not reverse a BIP 32 root into its original mnemonic. Motivation and definitions · Mnemonic-to-seed function

The problem the proposal addressed

By 2020, deterministic wallets had simplified backup but not interoperability. Sharing one BIP 39 mnemonic among a hardware signer, phone wallet and always-online service meant that compromise of the weakest copy could compromise all users of that phrase. Keeping entirely unrelated mnemonics avoided that shared-secret exposure, but multiplied backups, restoration procedures and opportunities for loss. Electrum's older mnemonic scheme and alternative wallet seed formats made the problem bigger than one wordlist. These are the author's contemporary design motivations, not measured failure rates across every wallet in 2020. First preserved BIP text · Original author submission

BIP 85 proposes a third arrangement: one carefully protected parent root, with distinct, deterministically reproducible secrets produced for lower-trust applications. Each child can be imported into an ordinary wallet that does not implement BIP 85 at all, because the child output may itself be a conventional BIP 39 mnemonic or Wallet Import Format key. It is the generating parent that needs BIP 85 support, not necessarily the receiving application. This is a consequence of the specified formats, not an assertion that all wallets offer an import interface for every application. BIP 39, WIF and XPRV applications

How the derivation works

The scheme assumes a BIP 32 extended private root. It derives a child private key along a fully hardened path beginning with m/83696968'. The remainder of the path identifies an application and its parameters. It then calculates HMAC-SHA512(key="bip-entropy-from-k", msg=k), where k is that derived private key's 32-byte representation. The HMAC output is 64 bytes, from which the application takes the required portion or uses a specified expansion method. Derivation and test vectors

BIP 32 private root
  └─ m/83696968'/39'/0'/12'/0'   (BIP 39 application example)
        └─ hardened child private key k
              └─ HMAC-SHA512("bip-entropy-from-k", k)
                    └─ first 16 bytes -> BIP 39 12-word mnemonic

The displayed example uses application 39', language 0' (English), twelve words and index 0'. The canonical test vector gives the first 128 entropy bits as 6250b68daf746d12a24d58b4787a714b, which the BIP renders as a twelve-word mnemonic beginning girl mad pet. Those are public test data, never a suitable secret for real funds. Changing the index produces another reproducible child. BIP 39 application and exact vector

This is deterministic pseudorandom derivation, not the creation of new independent physical entropy. Its security ultimately depends on the unpredictability and secrecy of the parent. The hardened path prevents the familiar BIP 32 non-hardened extended-public-key/child-private-key recovery problem; the additional keyed HMAC deliberately separates derived entropy from the raw child key and adds a defensive boundary if an implementation handles that key improperly. Possessing a child mnemonic does not in general permit recovering the BIP 85 parent, while an attacker with the parent can regenerate all children whose paths they discover. Both properties follow from the specified construction and its threat model, not from a claim that children are unconditionally isolated. HMAC rationale · Hardened and non-hardened derivation

Applications are not all the same seed

The BIP has application-specific paths and post-processing rules. For BIP 39, the path includes language, mnemonic word count and index. The 2' application produces a compressed WIF for a Bitcoin Core-style HD seed; 32' produces a new extended private root. The latter deliberately places the chain code first and private key second in its 64-byte HMAC output, the opposite order to BIP 32's original master-key construction, so implementers cannot casually substitute one parser for the other. Other applications include hexadecimal bytes, Base64 and Base85 passwords, dice outcomes, deterministic expansion for RSA material and, since 2026, Nostr secrets. These are separately defined outputs, not interchangeable renderings of a single child secret. Application definitions, XPRV order and deterministic generator

The path parameters are part of the recovery instructions. For example, m/83696968'/39'/0'/12'/0' and m/83696968'/39'/0'/24'/0' differ even though both produce English BIP 39 phrases. The child words still require normal wallet-specific account derivation and output discovery, such as BIP 44, BIP 84, BIP 86 or descriptors. BIP 85 does not encode a wallet's balance, transaction history, Ordinals holdings or Bitmap claims. BIP 39 path · Account discovery · Output descriptors

The documentary chronology

20 March–12 June 2020 — proposal and publication
The first document's header has Created: 2020-03-20; this later became Assigned under a process-wide header change. Ethan Kosakovsky opened PR #910 on **16 April 2020** asking for a BIP number. The initial file's Git commit was **author-dated 11 April** and added to the canonical repository on **11 June**; the proposal PR merged on **12 June**. A header date, an author timestamp and a repository merge are different records, not three independently demonstrated invention dates. First file commit · PR timestamps · Later field-name change
15 and 25 June 2020 — early corrections
The original test vectors were not immutable. A **15 June** commit corrected the first two derived entropy outputs. On **25 June**, another revision amended the explanation of BIP 32-root generation and added an invalid-key warning for its XPRV application. The Git history proves edits to the published specification, not that every early implementation adopted or failed them. Test-vector correction · XPRV clarification
19 November 2020–March 2021 — expansion and repair
A commit authored **30 October** and committed to the canonical repository **19 November 2020** added the BIP85-DRNG-SHAKE256 expansion scheme and further applications. A **13 March 2021** commit corrected a deterministic-generator example's derived entropy. The reason to retain these dated tests is practical: an archive of a specification must not present every historic vector as if it matched the maintained standard. Generator addition · Later vector correction
2022–2024 — more formats and a negotiated revision
Additional password-derivation material was incorporated **5 December 2022**. An extensive September 2024 edit was **reverted on 4 October** rather than surviving unchanged. The BIP became **Final on 5 October 2024**. A narrower revised change merged **25 October**, adding Karve as co-author and clarifying language codes, dice outputs, key serialization and other application rules. A separate **14 October** correction had repaired a Base64 test vector. It would be inaccurate to treat the reverted September wording as a continuously active specification. Password applications · September revision · Reversion · Final status · Base64 vector correction · October revision
2025–February 2026 — a timestamp and smaller corrections
A **15 October 2025** commit corrected the human-readable timestamp in the GPG/RSA section from **18:05:05 to 18:15:05 UTC** on 3 January 2009, leaving its already-specified Unix timestamp **1231006505** unchanged. The BIP warns that implementations which used the erroneous string rather than the numeric timestamp would derive different key fingerprints. The document labels this revision 2.0.0 with a **19 September 2025** changelog date; the October Git commit is separate evidence of incorporation. A February 2026 edit fixed an 18-word BIP 39 example's prose from **196 to 192 bits**. These corrections are not changes to Bitcoin consensus. Timestamp correction and version history · 18-word prose correction
August 2026 — Nostr application
PR #2126 opened on **20 March 2026** and merged **17 August**. Its application source commit is **dated 3 August** and its internal version 2.1.0 changelog is dated **2 August**. It assigns 128002' to Nostr secrets, with separate hardened identity and account indexes and the first 32 entropy bytes encoded as an nsec key. Both indexes reserve zero for future semantics, so signing keys start with 1'. The merge establishes a documented format; it does **not** establish how many Nostr clients adopted it or automatically recover a user's relay history. Source and test vectors · PR merge record

The current BIP shows Deployed. The relevant process edit renamed the previous Final label to Deployed and was committed as part of the BIP 3 migration in January 2026. That label is an administrative classification of a specification, not independent proof of adoption by a particular wallet, Nostr client or hardware signer. The specification currently advertises version 2.1.0; its version dates likewise need to be distinguished from commit and merge dates. Process migration · Current header and changelog

A separate approach: splitting one recovery secret

SLIP 39 does not derive a family of new wallet secrets from one parent. It divides a single chosen master secret among recovery-share holders, potentially using both group and member thresholds, and reconstructs that master secret when enough shares and the intended passphrase are supplied. BIP 85 instead derives separate secrets from an existing private root; no group threshold is part of its construction. Both can reduce how widely one full root is copied, but they solve different custody and recovery problems. Group recovery and BIP 32 backup · Deterministic child entropy

SLIP 39 itself has a revision history that matters to recoverability: grouped sharing entered the specification in March 2019, the BIP 32 seed-input rule was clarified in December 2020, and an extendable-backup flag appeared in May 2024. None of those document commits independently proves what an earlier wallet binary implemented. Group rewrite · BIP 32 revision · May extension

Recovery and trust boundaries

BIP 85 concentrates recovery responsibility. The parent backup must be guarded against disclosure and accidental loss, and the derivation paths and formats must be retained or rediscovered. A parent hidden offline can produce different child seeds for a connected phone and an isolated signing device. That reduces cross-importing of the same phrase, but it does not make a weak parent stronger or create forward secrecy if that parent is later compromised. A derived wallet may be migrated without exposing the master to its ordinary receiving software. This is a threat-model interpretation of the published construction, not an audit of every wallet's implementation. Motivation, compatibility and specification

The chronological edits above matter to recovery as well. Historical errors in examples, application byte ordering and timestamps can create apparent differences between a specification snapshot, a library release and a reconstructed secret. The correct question is not merely which words were written down? but also which parent, which exact child path, which format and which implementation behavior produced them? An Ordinals or Bitmap owner then has the additional job of locating and interpreting the outputs holding the relevant assets. Example correction · Timestamp interoperability note · Output descriptions

Source status and unfinished work

The canonical BIP and its Git commits are primary documentary evidence of specification wording and revision timing; PR #910 and PR #2126 preserve contemporary first-party proposal and review records. The changelog is a maintained first-party history with its own document dates. None of these alone establishes actual adoption, a compatible shipped binary, or historical funds recovered. The published vectors are illustrative public test inputs, and their own correction history deserves scrutiny. Original PR · Later PR · File history

Open question
Identify version-pinned 2020–2022 hardware-wallet and desktop-wallet releases that generated BIP 85 children, and reproduce their behavior against the corresponding specification snapshots rather than inferring deployment from implementation lists.
Open question
Test old and current vectors across historical library tags, particularly the June 2020 HMAC vectors, March 2021 generator correction and October 2024 Base64 correction; distinguish errors in documentation from real incompatibilities.
Open question
Find deployed GPG key material affected by the pre-2025 human-readable timestamp discrepancy, or document that no such use is established; the source correction alone cannot quantify affected users.
Open question
Check whether released Nostr clients implement the August 2026 128002' path and reserved-index rules; PR #2126 establishes specification acceptance, not rollout.

From the archivist's desk

I arrived here by following a chain of wallet standards about finding keys. BIP 85 turns the question around. Once one root is recoverable, can it seed separate wallets without spreading that root everywhere? The mathematics says yes, with a precise contract. The archive shows why the contract is the fragile part: a test vector changes, a timestamp is clarified, an entire proposed revision is reverted, and an application appears six years after the first draft.

One backup can carry many futures. It still needs an accurate index of which future was chosen.

See also