What is the PTS private key version bit?

Started by 5chdn, January 07, 2014, 11:03:51 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

barwizi

Quote from: donschoe on January 11, 2014, 11:10:39 AM
Quote from: barwizi on January 11, 2014, 10:43:06 AM
Quote from: donschoe on January 11, 2014, 08:59:39 AM
Quote from: barwizi on January 11, 2014, 06:42:46 AM
Quote from: donschoe on January 11, 2014, 12:30:53 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.

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.

5chdn

#9
Quote from: barwizi on January 11, 2014, 10:43:06 AM
Quote from: donschoe on January 11, 2014, 08:59:39 AM
Quote from: barwizi on January 11, 2014, 06:42:46 AM
Quote from: donschoe on January 11, 2014, 12:30:53 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. :)

barwizi

Quote from: donschoe on January 11, 2014, 08:59:39 AM
Quote from: barwizi on January 11, 2014, 06:42:46 AM
Quote from: donschoe on January 11, 2014, 12:30:53 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.

5chdn

#7
Quote from: barwizi on January 11, 2014, 06:42:46 AM
Quote from: donschoe on January 11, 2014, 12:30:53 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

barwizi

Quote from: donschoe on January 11, 2014, 12:30:53 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.

5chdn

Its 0xb8 (184). Figured out comparing Litecoin version numbers.

5chdn

Bump, anyone?

I'm looking for the ECKey.privateKeyPrefix:

ECKey.privateKeyPrefix = 0x80; // BTC mainnet 0x80, BTC testnet 0xEF

ECKey.privateKeyPrefix = 0xb0; // LTC mainnet 0xb0

Whats the privateKeyPrefix for PTS mainnet?

5chdn

56 is the version number of the public key... but the private?

barwizi

--Bar--  PiNEJGUv4AZVZkLuF6hV4xwbYTRp5etWWJ

The magical land of crypto, no freebies people.

5chdn

Bitcoin is 0x00 for publickey and 0x80 for the private key.
Protoshares is 0x38 for pubkey, but which version is the private key?