BIP 47, Reusable Payment Codes for Hierarchical Deterministic Wallets, is Justus Ranvier's 2015 proposal for publishing a long-lived Bitcoin receiving identifier without reusing one on-chain payment address. It combines hierarchical deterministic keys, elliptic-curve shared secrets, and a one-time notification from a sender to a recipient. Subsequent payments use fresh P2PKH deposit addresses. The original proposal was assigned 24 April 2015; its first recovered canonical Git file was added 19 June 2015. The maintained BIP is marked Deployed as of November 2026. That status does not mean every Bitcoin wallet supports it or that later designs have adopted the same notification rules. Canonical specification — primary · Original canonical file — direct Git record
Why the notification exists
A published static Bitcoin address allows repeat payments, but reuse makes those outputs trivially linkable. Giving every payer the same extended public key likewise exposes more derivation structure than a one-to-one exchange ought to. BIP 47's answer was an identity subtree, at m / 47' / coin_type' / identity', associated by recommendation with the same-index BIP 44 account. A Base58Check payment code begins with P, using the serialization prefix 0x47; the code's 80-byte binary payload holds version, feature flags, a compressed public key, a chain code and reserved bytes. The fixed code is public; derived payment destinations change. Paths and representation — primary
The relationship has an introduction phase. To make the first payment to Bob, Alice supplies a notification transaction containing a blinded copy of her payment code. In version 1, she sends a small output to Bob's derived notification address and adds an 80-byte OP_RETURN payload. Both parties calculate an elliptic-curve Diffie–Hellman point using Alice's designated input key and Bob's notification key, then use the designated input's spent outpoint to blind or unblind the payment-code contents. Having recovered Alice's code, Bob can derive and monitor the same sequence of deposit addresses Alice generates. Version 1 notification and sending
Normal deposit payments use shared secrets to tweak Bob's derived public keys; they do not send Bitcoin to the payment code itself. Each sender-recipient relationship has its own next-unused address index. The BIP requires Bob to notify Alice separately before paying her back, even after receiving Alice's original introduction. A refund is not automatically a reciprocal communication channel. Sending and refunds
Two notification versions, not two interchangeable addresses
Version 1 watches a conventional notification address. Version 2, added to the document on 19 April 2016, replaces that particular output with a multisignature-shaped change output containing the recipient's 33-byte payment-code identifier, allowing a bloom-filtering client to discover the notification. The specification recommends version 2 for wallets with that capability. Both versions retain the blinded payment-code payload and the underlying one-time introduction: version 2 is not a notification-free silent payment. It continues to specify P2PKH deposit addresses. Version 2 introduction — direct revision · Version matrix
This design predates the later Silent Payments and differs from Private Payments, which proposed a smaller, tagged notification and explicit address-type choices. BIP 351's own specification says its codes are not backward-compatible with BIP 47. The three designs share an ambition to separate public payment identifiers from individual outputs; they do not form interchangeable protocol versions. BIP 351 compatibility · BIP 352 motivation
The implementation became part of the specification
The first recovered Git submission on 19 June 2015 described a 65-byte notification payload. The document subsequently settled on 80 bytes. A 22 June 2015 change made the binary serialization explicitly 80 bytes and changed the Base58Check prefix to 0x23; on 21 September 2015 that prefix changed again to 0x47 because 0x23 did not produce the desired leading P once the checksum was included. These are directly recorded format corrections, not evidence of three separate production standards. First file · June serialization correction · September version-byte correction
More consequentially, the original Samourai Wallet implementation reversed the two inputs of the HMAC-SHA512 calculation used to blind notification transactions, according to a later commit by Ranvier. Rather than declaring deployed wallets wrong, the specification was adjusted to describe the behavior of the released implementation and its test vectors. The change is labeled 28 September 2017 in the BIP's changelog and author timestamp. Its Git committer timestamp is 15 February 2021, and the finalization pull request containing this history merged into the canonical repository on 24 April 2024. Those three dates describe different records, not interchangeable publication events. HMAC edit and explicit implementation rationale — direct commit · Finalization PR and merge · Samourai test vectors — contemporary implementer record
An apparent inconsistency remains in the maintained text. Alice's version-1 notification procedure now writes HMAC-SHA512(o, x), while Bob's decoding procedure still writes HMAC-SHA512(x, o), although each is meant to calculate the same blinding factor. Read as a conventional ordered HMAC call, those expressions differ; the specific Git patch changed only Alice's line. This is a direct textual discrepancy with a plausible interoperability implication, not proof that two actual wallets cannot communicate. The historic test vectors and implementation code are the next controls to check before judging intended parameter order or asserting a released failure. Sender and recipient algorithms — maintained text · One-line diff
A public identity has recovery costs
The BIP says normal use can work in a simplified-payment-verification wallet, but seed-only restoration requires recovering all previous notifications, including spent notification transactions, and then rebuilding address lookahead for every detected sender. It also requires wallet metadata for outgoing notifications and index progress. A restored wallet may need to repeat outgoing notifications. Ephemeral payment codes create still harder discovery problems, and unsynchronized copies of one wallet can accidentally reuse addresses. These are constraints stated in the specification, not hypothetical objections added years later. Wallet Recovery and Wallet Sharing
Privacy is not a simple yes/no label here. The notification transaction is on-chain and the recipient can recognize its sender. The BIP warns against inputs easily linked to the sender's notification identity and recommends careful handling of notification-change outputs. Monitoring a public notification address or recognizing the version-2 script can reveal relevant patterns; none of that by itself establishes the real-world identities of transaction participants. Avoiding reuse of deposit addresses is not the same as eliminating linkage or recovery tradeoffs. Notification and privacy considerations
Timeline of the record
0x47, which produces the intended human-readable P. June change · September changeWhat remains to investigate
- Check the surviving Samourai implementation and test vectors against both HMAC call orders to determine whether the receiver line is stale or whether notation/parameter order explains the apparent discrepancy.
- Reconstruct specific tagged wallet releases and their supported BIP 47 version, address type and recovery behavior, rather than treating the historical Samourai implementation or the BIP status as a current compatibility census.
- Recover the original 2015 mailing-list context and archived BIP review comments without treating a single quoted review as Bitcoin-wide consensus.
- Determine whether other wallets' payment-code adaptations, including SegWit extensions, were compatible with the version-1/version-2 definitions or separate conventions.
Sources and evidence boundaries
The maintained BIP 47 establishes the currently written protocol. Git file history, especially the HMAC correction, documents changing text and its stated cause. PR #1068 supplies the canonical merge event. Test vectors are first-party implementation artifacts, not an independent audit of all wallets. The interpretation of the remaining two-line difference is explicitly provisional. BIP 351 and BIP 352 document later approaches to the reusable-identifier problem.