Bitcoin Forum
May 14, 2024, 02:47:49 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Подскажите префиксы DASH и ZEC BIP32  (Read 107 times)
Banxter (OP)
Jr. Member
*
Offline Offline

Activity: 88
Merit: 2


View Profile
June 11, 2018, 10:23:22 AM
 #1

Можете подсказать префиксы, для DASH и ZEC по аналогии примера ниже:

'BTC' : {
        'main': {
            'prefix'        : 0,
            'private_prefix': 0x80,
            'bip32_public'  : bytes([0x04, 0x88, 0xb2, 0x1e]),
            'bip32_private' : bytes([0x04, 0x88, 0xad, 0xe4]),
        },
        'test': {
            'prefix'        : 0x6f,
            'private_prefix': 0x6f+0x80,
            'bip32_public'  : bytes([0x04, 0x35, 0x87, 0xcf]),
            'bip32_private' : bytes([0x04, 0x35, 0x83, 0x94]),
        }
    },
    'DOGE' : {
        'main': {
            'prefix'        : 0x1e,
            'private_prefix': 0x1e+0x80,
            'bip32_public'  : bytes([0x02, 0xfa, 0xca, 0xfd]),
            'bip32_private' : bytes([0x02, 0xfa, 0xc3, 0x98]),
        },
        'test': {
            'prefix'        : 0x71,
            'private_prefix': 0x71+0x80,
            'bip32_public'  : bytes([0x04, 0x32, 0xa9, 0xa8]),
            'bip32_private' : bytes([0x04, 0x32, 0xa2, 0x43]),
        }
    },
    'LTC' : {
        'main': {
            'prefix'        : 0x30,
            'private_prefix': 0x30+0x80,
            'bip32_public'  : bytes([0x01, 0x9d, 0xa4, 0x62]),
            'bip32_private' : bytes([0x01, 0x9d, 0x9c, 0xfe]),
        },
        'test': {
            'prefix'        : 0x6f,
            'private_prefix': 0x6f+0x80,
            'bip32_public'  : bytes([0x04, 0x36, 0xf6, 0xe1]),
            'bip32_private' : bytes([0x04, 0x36, 0xef, 0x7d]),
        }
"In a nutshell, the network works like a distributed timestamp server, stamping the first transaction to spend a coin. It takes advantage of the nature of information being easy to spread but hard to stifle." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715698070
Hero Member
*
Offline Offline

Posts: 1715698070

View Profile Personal Message (Offline)

Ignore
1715698070
Reply with quote  #2

1715698070
Report to moderator
ligor
Full Member
***
Offline Offline

Activity: 1246
Merit: 138


Hodl DeepOnion


View Profile WWW
June 12, 2018, 08:55:04 AM
 #2

Даша основной 0x4c возможно это, поищи тут https://github.com/walletgeneratornet/WalletGenerator.net/blob/36cefb15c625f86c1427e9a17c2bb8d5140918a4/src/janin.currency.js

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!