Skip to content

Commit 499f5a7

Browse files
committed
Add version bytes section
1 parent 64f44eb commit 499f5a7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

bip-0084.mediawiki

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ To derive the P2WPKH address from the above calculated public key, we use the en
5151
scriptPubKey: 0 <20-byte-key-hash>
5252
(0x0014{20-byte-key-hash})
5353
54+
55+
===Extended Key Version===
56+
57+
When serializing extended keys, this scheme uses alternate version bytes. Extended public keys use <code>0x04b24746</code> to produce a "zpub" prefix, and private keys use <code>0x04b2430c</code> to produce a "zprv" prefix.
58+
59+
5460
==Backwards Compatibility==
5561

5662
This BIP is not backwards compatible by design as described under [#considerations]. An incompatible wallet will not discover accounts at all and the user will notice that something is wrong.

0 commit comments

Comments
 (0)