Skip to content

Commit

Permalink
Add XPRV_HEADERS and XPUB_HEADERS
Browse files Browse the repository at this point in the history
  • Loading branch information
dalijolijo authored Jan 29, 2019
1 parent 3bcca54 commit 8f9d595
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,18 @@ SCRIPT_ADDRESS = 5
SCRIPT_ADDRESS_HEX = 0x05
SECRET_KEY (WIF) = 204
SECRET_KEY_HEX (WIF) = 0xCC
EXT_PUBLIC_KEY = 0x04, 0x88, 0xB2, 0x1E
EXT_SECRET_KEY = 0x04, 0x88, 0xAD, 0xE4
XPRV_HEADERS
'standard': 0x0488ade4 # xprv
'p2wpkh-p2sh': 0x049d7878 # yprv
'p2wpkh': 0x04b2430c # zprv
'p2wsh-p2sh': 0x0295b005 # Yprv
'p2wsh': 0x02aa7a99 # Zprv
XPUB_HEADERS
'standard': 0x0488b21e # xpub
'p2wpkh-p2sh': 0x049d7cb2 # ypub
'p2wpkh': 0x04b24746 # zpub
'p2wsh-p2sh': 0x0295b43f # Ypub
'p2wsh': 0x02aa7ed3 # Zpub
BIP44_PATH = m/44'/91'/0'/
Genesis = 0x0000012e1b8843ac9ce8c18603658eaf8895f99d3f5e7e1b7b1686f35e3c087a
MerkleRoot = 0xc0c4f68994b78c31b6c7d7a8a895b5a085857adfbb73699bcfe5a247a357df57
Expand Down

0 comments on commit 8f9d595

Please sign in to comment.