Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: Confused about private keys  (Read 453 times)

0 Members and 1 Guest are viewing this topic.

Offline bitmeat

  • Hero Member
  • *****
  • Posts: 1116
    • View Profile
Confused about private keys
« 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.

Offline Riverhead

Re: Confused about private keys
« Reply #1 on: July 19, 2014, 08:13:43 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?

Offline bitmeat

  • Hero Member
  • *****
  • Posts: 1116
    • View Profile
Re: Confused about private keys
« Reply #2 on: July 19, 2014, 08:21:51 PM »
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.

Offline bytemaster

Re: Confused about private keys
« Reply #3 on: July 19, 2014, 08:23:52 PM »
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: http://bytemaster.bitshares.org
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.

Offline bitmeat

  • Hero Member
  • *****
  • Posts: 1116
    • View Profile
Re: Confused about private keys
« Reply #4 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?

Offline bytemaster

Re: Confused about private keys
« Reply #5 on: July 19, 2014, 08:30:20 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: http://bytemaster.bitshares.org
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.

Offline bitmeat

  • Hero Member
  • *****
  • Posts: 1116
    • View Profile
Re: Confused about private keys
« Reply #6 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?

Offline bytemaster

Re: Confused about private keys
« Reply #7 on: July 19, 2014, 08:36:17 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: http://bytemaster.bitshares.org
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.


Offline bytemaster

Re: Confused about private keys
« Reply #9 on: July 20, 2014, 08:37:50 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

Code: [Select]
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: http://bytemaster.bitshares.org
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.

 

Google+