jakesum / evian

https://www.balletcrypto.org/
Apache License 2.0
0 stars 0 forks source link

Magic number or .... #1

Open jakesum opened 4 years ago

jakesum commented 4 years ago

@tech1k have a look @ commented

https://github.com/jakesum/evian/edit/master/src/utils/cryptojs-lib/wif.js

jakesum commented 4 years ago

https://github.com/Tech1k @Tech1k I found this somewhere else and it makes more sense. Same digits at work. So you were correct about the base58 conversion

PR - "fixed litecoin bip32 headers"

https://github.com/GENERALBYTESCOM/litecoinj/commit/cd756036eda8dd82b2597d99c75b0c72a5022b54

Litecoin:...
 bip32HeaderPub = 0x019da462; //The 4 byte header that serializes in base58 to "xpub".
bip32HeaderPriv = 0x019d9cfe; //The 4 byte header that serializes in base58 to "xprv"