Author

Topic: Litecoin and Dogecoin address versions (hex prefix) (Read 1395 times)

legendary
Activity: 1161
Merit: 1004
I need to know if the following address versions (hex prefixes) are correct, and what's Dogecoin test-net one:
//
Litecoin main-net: 0x30
Litecoin test-net: 0x6F
//
Dogecoin main-net: 0x1E
Dogecoin test-net: 0x6F

EDIT: ok got them all.

yes is all correct but the DogeCoin test-net pubkey prefix is not correct. (https://github.com/dogecoin/dogecoin/blob/master/src/chainparams.cpp#L226)

Litecoin:
main: 48 dec = 0x30 hex
test: 111 dec = 0x6F hex

Dogecoin:
main: 30 dec = 0x1E hex
test: 113 dec = 0x71 hex

hope it help.
ca333


Damn man, you were freaking helpful!
I really appreciate, thank you  Smiley
hero member
Activity: 520
Merit: 522
Developer - EthicHacker - BTC enthusiast
I need to know if the following address versions (hex prefixes) are correct, and what's Dogecoin test-net one:
//
Litecoin main-net: 0x30
Litecoin test-net: 0x6F
//
Dogecoin main-net: 0x1E
Dogecoin test-net: 0x6F

EDIT: ok got them all.

yes is all correct but the DogeCoin test-net pubkey prefix is not correct. (https://github.com/dogecoin/dogecoin/blob/master/src/chainparams.cpp#L226)

Litecoin:
main: 48 dec = 0x30 hex
test: 111 dec = 0x6F hex

Dogecoin:
main: 30 dec = 0x1E hex
test: 113 dec = 0x71 hex

hope it help.
ca333
legendary
Activity: 1161
Merit: 1004
I need to know if the following address versions (hex prefixes) are correct, and what's Dogecoin test-net one:
//
Litecoin main-net: 0x30
Litecoin test-net: 0x6F
//
Dogecoin main-net: 0x1E
Dogecoin test-net: 0x71

EDIT: ok got them all.
Jump to: