Main Menu

Confused about private keys

Started by bitmeat, July 19, 2014, 08:05:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bytemaster

Quote from: AdamBLevine on July 19, 2014, 08:55:31 PM
bytemaster, is "import wallet" supposed to be selectable for me once my blockchain is updated?  It is not, and putting the wallet.dat in the appropriate place didnt work.

How do I onboard?

Yes... it should be selectable...  if there is a UI issue then you can always do this:

Console > help wallet_import_bitcoin


Usage:
wallet_import_bitcoin <wallet_filename> <passphrase> <account_name>                                   Imports a Bitcoin Core or BitShares PTS wallet
Imports a Bitcoin Core or BitShares PTS wallet

Parameters:
  wallet_filename (filename, required): the Bitcoin/PTS wallet file path
  passphrase (passphrase, required): the imported wallet's password
  account_name (account_name, required): the account to receive the contents of the wallet

Returns:
  void


For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

AdamBLevine

bytemaster, is "import wallet" supposed to be selectable for me once my blockchain is updated?  It is not, and putting the wallet.dat in the appropriate place didnt work.

How do I onboard?
Email me at [email protected]

bytemaster

Quote from: krabbypatty on July 19, 2014, 08:33:43 PM
Would I be able to control what private key is used to generate that wallet? If I create an account offline, isn't it still generated by your software?

It would be generated by our software...... you can use anything you like to create the account key provided you can convert it to the proper format.
For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

bitmeat

Would I be able to control what private key is used to generate that wallet? If I create an account offline, isn't it still generated by your software?

bytemaster

Quote from: krabbypatty on July 19, 2014, 08:28:18 PM
So is there a way to store a balance in cold storage, similar to Bitcoin? i.e. I generate a public key offline from a private key, and store the balance there?

Is there code in the toolkit somewhere that generates public key from private key?

To do that, create a wallet off line, create an account in the wallet, and then copy the public key.  Export the wallet to json. 

Then send your funds to that account. 
For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

bitmeat

So is there a way to store a balance in cold storage, similar to Bitcoin? i.e. I generate a public key offline from a private key, and store the balance there?

Is there code in the toolkit somewhere that generates public key from private key?

bytemaster

File -> Export Wallet will allow you to save your wallet as a .json file.  You can import it again using the console... the import feature is not quite there yet, but your keys should be safe so long as you don't forget your password.
For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

bitmeat

Yes, I've had hardware failures in the past where I lost 300 PTS. I want to have all the private keys and ability to recover from just those.

So how does one backup their accounts is really the question - and we should put good instructions on that.

Riverhead

Quote from: krabbypatty on July 19, 2014, 08:05:38 PM
I imported a private key and I want to send all my funds there, just in case. I can't seem to be able to locate the list of my BTS public addresses.


One option, though not as clean as perhaps another, is to Export your wallet to .json and then view in a text editor.  You're talking about the newly released Bitshares-X, right?

bitmeat

I imported a private key and I want to send all my funds there, just in case. I can't seem to be able to locate the list of my BTS public addresses.