• Forum has been upgraded, all links, images, etc are as they were. Please see Official Announcements for more information

settings for ruby-library to implement darkcoin support

fit308

New member
Hi guys!!
I'm developing mobile multisig wallet for Bitcoin and I've decided to add Darkcoin as a second currency....
I need you help in figuring this settings for DRK

Code:
 bitcoin: {
      address_version: '00',
      p2sh_version: '05',
      p2sh_char: '3',
      privkey_version: '80',
      privkey_compression_flag: '01',
      extended_privkey_version: "0488ade4",
      extended_pubkey_version: "0488b21e",
      compressed_wif_chars: %w(K L),
      uncompressed_wif_chars: %w(5),
      protocol_version: 70001
    },
    bitcoin_testnet: {
      address_version: '6f',
      p2sh_version: 'c4',
      p2sh_char: '2',
      privkey_version: 'ef',
      privkey_compression_flag: '01',
      extended_privkey_version: "04358394",
      extended_pubkey_version: "043587cf",
      compressed_wif_chars: %w(c),
      uncompressed_wif_chars: %w(9),
      protocol_version: 70001
    }
 
That's all I know. Have never seen the other properties before.
Code:
darkcoin: {
      address_version: '4c', // 76
      privkey_version: 'cc', // 204
      protocol_version: 70014
    },
      darkcoin_testnet: {
      address_version: '6f', // 111
      privkey_version: 'ef', // 239
      protocol_version: 70014
    }

Edit, it looks like the testnet stuff is the same like bitcoin except for protocol version.
 
I'm developing mobile multisig wallet for Bitcoin and I've decided to add Darkcoin as a second currency....
Hi what's the status on this? I'm currently looking for a darkcoin-ruby implementation. Did you fork bitcoin-ruby?
 
Back
Top