Bitcoin Forum
November 11, 2024, 06:22:41 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Warning: One or more bitcointalk.org users have reported that they strongly believe that the creator of this topic is a scammer. (Login to see the detailed trust ratings.) While the bitcointalk.org administration does not verify such claims, you should proceed with extreme caution.
Pages: [1]
  Print  
Author Topic: Litecoin and Dogecoin address versions (hex prefix)  (Read 1413 times)
supermoney (OP)
Legendary
*
Offline Offline

Activity: 1161
Merit: 1004



View Profile
March 23, 2015, 09:22:47 AM
Last edit: March 23, 2015, 11:43:33 AM by supermoney
 #1

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.
ca333
Hero Member
*****
Offline Offline

Activity: 521
Merit: 522


Developer - EthicHacker - BTC enthusiast


View Profile
March 23, 2015, 11:31:27 AM
 #2

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

this space is available (free) for humanitarian nonprofit organizations - please contact me
supermoney (OP)
Legendary
*
Offline Offline

Activity: 1161
Merit: 1004



View Profile
March 23, 2015, 11:40:02 AM
Last edit: March 23, 2015, 06:51:25 PM by supermoney
 #3

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
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!