Author Topic: What is the PTS private key version bit?  (Read 913 times)

0 Members and 1 Guest are viewing this topic.

Offline 5chdn

  • Sr. Member
  • ****
  • Posts: 487
  • i wonder how many chars i can put in this field 50
    • View Profile
    • Votesapp
  • GitHub: 5chdn
What is the PTS private key version bit?
« on: January 07, 2014, 11:03:51 am »
Bitcoin is 0x00 for publickey and 0x80 for the private key.
Protoshares is 0x38 for pubkey, but which version is the private key?

Offline barwizi

  • Hero Member
  • *****
  • Posts: 764
  • Noirbits, NoirShares, NoirEx.....lol, noir anyone?
    • View Profile
    • Noirbitstalk.org
Re: What is the PTS private key version bit?
« Reply #1 on: January 07, 2014, 12:01:02 pm »
i believe it is 56
--Bar--  PiNEJGUv4AZVZkLuF6hV4xwbYTRp5etWWJ

The magical land of crypto, no freebies people.

Offline 5chdn

  • Sr. Member
  • ****
  • Posts: 487
  • i wonder how many chars i can put in this field 50
    • View Profile
    • Votesapp
  • GitHub: 5chdn
Re: What is the PTS private key version bit?
« Reply #2 on: January 07, 2014, 03:40:24 pm »
56 is the version number of the public key... but the private?

Offline 5chdn

  • Sr. Member
  • ****
  • Posts: 487
  • i wonder how many chars i can put in this field 50
    • View Profile
    • Votesapp
  • GitHub: 5chdn
Re: What is the PTS private key version bit?
« Reply #3 on: January 10, 2014, 02:55:05 pm »
Bump, anyone?

I'm looking for the ECKey.privateKeyPrefix:

Code: [Select]
ECKey.privateKeyPrefix = 0x80; // BTC mainnet 0x80, BTC testnet 0xEF
Code: [Select]
ECKey.privateKeyPrefix = 0xb0; // LTC mainnet 0xb0
Whats the privateKeyPrefix for PTS mainnet?

Offline 5chdn

  • Sr. Member
  • ****
  • Posts: 487
  • i wonder how many chars i can put in this field 50
    • View Profile
    • Votesapp
  • GitHub: 5chdn
Re: What is the PTS private key version bit?
« Reply #4 on: January 11, 2014, 12:30:53 am »
Its 0xb8 (184). Figured out comparing Litecoin version numbers.

Offline barwizi

  • Hero Member
  • *****
  • Posts: 764
  • Noirbits, NoirShares, NoirEx.....lol, noir anyone?
    • View Profile
    • Noirbitstalk.org
Re: What is the PTS private key version bit?
« Reply #5 on: January 11, 2014, 06:42:46 am »
Its 0xb8 (184). Figured out comparing Litecoin version numbers.

what you wanna use it for if you dont mind my asking?
--Bar--  PiNEJGUv4AZVZkLuF6hV4xwbYTRp5etWWJ

The magical land of crypto, no freebies people.

Offline 5chdn

  • Sr. Member
  • ****
  • Posts: 487
  • i wonder how many chars i can put in this field 50
    • View Profile
    • Votesapp
  • GitHub: 5chdn
Re: What is the PTS private key version bit?
« Reply #6 on: January 11, 2014, 08:59:39 am »
Its 0xb8 (184). Figured out comparing Litecoin version numbers.

what you wanna use it for if you dont mind my asking?

A paperwallet generator.
http://paper.protoshar.es/
https://github.com/donSchoe/ptsaddress
« Last Edit: January 11, 2014, 04:07:12 pm by donschoe »

Offline barwizi

  • Hero Member
  • *****
  • Posts: 764
  • Noirbits, NoirShares, NoirEx.....lol, noir anyone?
    • View Profile
    • Noirbitstalk.org
Re: What is the PTS private key version bit?
« Reply #7 on: January 11, 2014, 10:43:06 am »
Its 0xb8 (184). Figured out comparing Litecoin version numbers.

what you wanna use it for if you dont mind my asking?

A paperwallet generator.
http://q39.qhor.net/pts/ptsaddress.html
https://github.com/donSchoe/ptsaddress

If you could write that in C++ we would then they to integrate it into the client to allow people to just have a hard copy of their wallets, perfect for cold storage and back up.
--Bar--  PiNEJGUv4AZVZkLuF6hV4xwbYTRp5etWWJ

The magical land of crypto, no freebies people.

Offline 5chdn

  • Sr. Member
  • ****
  • Posts: 487
  • i wonder how many chars i can put in this field 50
    • View Profile
    • Votesapp
  • GitHub: 5chdn
Re: What is the PTS private key version bit?
« Reply #8 on: January 11, 2014, 11:10:39 am »
Its 0xb8 (184). Figured out comparing Litecoin version numbers.

what you wanna use it for if you dont mind my asking?

A paperwallet generator.
http://paper.protoshar.es/
https://github.com/donSchoe/ptsaddress

If you could write that in C++ we would then they to integrate it into the client to allow people to just have a hard copy of their wallets, perfect for cold storage and back up.

Just dump private key and send it to your printer. There is not much code to add. :)
« Last Edit: January 11, 2014, 04:07:25 pm by donschoe »

Offline barwizi

  • Hero Member
  • *****
  • Posts: 764
  • Noirbits, NoirShares, NoirEx.....lol, noir anyone?
    • View Profile
    • Noirbitstalk.org
Re: What is the PTS private key version bit?
« Reply #9 on: January 11, 2014, 01:39:08 pm »
Its 0xb8 (184). Figured out comparing Litecoin version numbers.

what you wanna use it for if you dont mind my asking?

A paperwallet generator.
http://q39.qhor.net/pts/ptsaddress.html
https://github.com/donSchoe/ptsaddress

If you could write that in C++ we would then they to integrate it into the client to allow people to just have a hard copy of their wallets, perfect for cold storage and back up.

Just dump private key and send it to your printer. There is not much code to add. :)

having the option in the GUI allowing splitting the funds into multiple wallets and dumping the collective keys onto seperate sheets sounds nice. anyway i already added coin-control to the source code. I'll work on it in my spare time.
--Bar--  PiNEJGUv4AZVZkLuF6hV4xwbYTRp5etWWJ

The magical land of crypto, no freebies people.