BitShares Forum
Main => General Discussion => Topic started by: bytemaster on July 20, 2014, 07:26:13 pm
-
We will create a more formal instruction set for this, but for now here is what you need to know:
1) The wallet can regenerate all private keys from the wallet root key. So as long as you backup your wallet after you create it your balance is safe (in theory).
2) You should backup the PUBLIC KEY of all unregistered accounts otherwise you will have to scan all transactions with all keys which could take a VERY LONG TIME when the network transaction volume picks up (or if you had a lot of transactions).
For this reason I recommend registering all accounts on the blockchain *or* backing up all public keys for the unregistered accounts you do create.
You can backup by going to File -> Export Wallet which will save a .json file with your wallet contents. The private keys are encrypted with your password. Save this file on a separate disk. If your password is not very strong then do not store it where anyone else can get to it.
Strong wallet passwords are recommended.
-
+5% .. need to add this to the wiki .. best practice ..
-
Whats the wallet root key .. do you mean account root key?
-
Whats the wallet root key .. do you mean account root key?
All account keys are child of the wallet root key.
-
Can I export that key somehow?
-
Can I export that key somehow?
It is in the .json file that is exported with the wallet. We don't have a way of dumping that key in unencrypted form at the moment.
-
Kk .. thx
-
is it safe to change the password from the win gui console from time to time ?
-
is it safe to change the password from the win gui console from time to time ?
Should be safe. Your backup will still use the old password.
-
Whats the wallet root key .. do you mean account root key?
All account keys are child of the wallet root key.
maybe not include the key import from other wallet?
-
How deterministic are we talking here? I created two wallets on two machines (one to use and one delegate server) with the same pass phrase (strong). Are these two machines effectively running the same wallet?
-
@BM
Correct me if I was wrong. I am using the Windows package. When I was tried to move the wallet from one PC to another PC. I go to roaming folder and copy the wallet folder inside the BitShares X folder along. I saw that it works fine. Is it a good way to move/backup/restore the wallet?
I see that we have the backup option to export the .json file. I think it is used for backup at this point of time. The import function doesnt work yet?
-
How deterministic are we talking here? I created two wallets on two machines (one to use and one delegate server) with the same pass phrase (strong). Are these two machines effectively running the same wallet?
They are deterministic from a random seed data, not from your password.
-
@BM
Correct me if I was wrong. I am using the Windows package. When I was tried to move the wallet from one PC to another PC. I go to roaming folder and copy the wallet folder inside the BitShares X folder along. I saw that it works fine. Is it a good way to move/backup/restore the wallet?
I see that we have the backup option to export the .json file. I think it is used for backup at this point of time. The import function doesnt work yet?
Import works, it is just not user-friendly. Your approach also works.
-
is it safe to change the password from the win gui console from time to time ?
Should be safe. Your backup will still use the old password.
the old backups not the backups created after that point ...
-
is it safe to change the password from the win gui console from time to time ?
Should be safe. Your backup will still use the old password.
the old backups not the backups created after that point ...
Correct.
-
@BM
Correct me if I was wrong. I am using the Windows package. When I was tried to move the wallet from one PC to another PC. I go to roaming folder and copy the wallet folder inside the BitShares X folder along. I saw that it works fine. Is it a good way to move/backup/restore the wallet?
I see that we have the backup option to export the .json file. I think it is used for backup at this point of time. The import function doesnt work yet?
Import works, it is just not user-friendly. Your approach also works.
Can someone explain how to do this (through the command line??).
My wallet crashed on one computer and I couldn't re-install and get it to reopen (Mac version, reference post here: https://bitsharestalk.org/index.php?topic=5968.msg79809#msg79809 (https://bitsharestalk.org/index.php?topic=5968.msg79809#msg79809) At least one other is having this problem too).
Able to get wallet operational on another computer but can't figure out how to import .json file.
HELP :-\
edit: I also wanted to mention this is for a registered account on the blockchain, if it makes any difference.
-
@BM
Correct me if I was wrong. I am using the Windows package. When I was tried to move the wallet from one PC to another PC. I go to roaming folder and copy the wallet folder inside the BitShares X folder along. I saw that it works fine. Is it a good way to move/backup/restore the wallet?
I see that we have the backup option to export the .json file. I think it is used for backup at this point of time. The import function doesnt work yet?
Import works, it is just not user-friendly. Your approach also works.
Can someone explain how to do this (through the command line??).
My wallet crashed on one computer and I couldn't re-install and get it to reopen (Mac version, reference post here: https://bitsharestalk.org/index.php?topic=5968.msg79809#msg79809 (https://bitsharestalk.org/index.php?topic=5968.msg79809#msg79809) At least one other is having this problem too).
Able to get wallet operational on another computer but can't figure out how to import .json file.
HELP :-\
edit: I also wanted to mention this is for a registered account on the blockchain, if it makes any difference.
Alright an update on my attempts to import the .json file:
Tried to use: wallet_create_from_json <json_filename> <wallet_name> <imported_wallet_passphrase>
and then received:
wallet must be open to execute this command. You can:
(o) Open an existing wallet
(c) Create a new wallet
(q) Abort command
Command aborted
So I type: (c) and get
>> (c)
Error: invalid command "(c)"
If anyone else has figure this out, let me know... I'm not a CS savvy guy, but I'd appreciate any help. Happy to tip you. :)
-
@BM
Correct me if I was wrong. I am using the Windows package. When I was tried to move the wallet from one PC to another PC. I go to roaming folder and copy the wallet folder inside the BitShares X folder along. I saw that it works fine. Is it a good way to move/backup/restore the wallet?
I see that we have the backup option to export the .json file. I think it is used for backup at this point of time. The import function doesnt work yet?
Import works, it is just not user-friendly. Your approach also works.
Can someone explain how to do this (through the command line??).
My wallet crashed on one computer and I couldn't re-install and get it to reopen (Mac version, reference post here: https://bitsharestalk.org/index.php?topic=5968.msg79809#msg79809 (https://bitsharestalk.org/index.php?topic=5968.msg79809#msg79809) At least one other is having this problem too).
Able to get wallet operational on another computer but can't figure out how to import .json file.
HELP :-\
edit: I also wanted to mention this is for a registered account on the blockchain, if it makes any difference.
Alright an update on my attempts to import the .json file:
Tried to use: wallet_create_from_json <json_filename> <wallet_name> <imported_wallet_passphrase>
and then received:
wallet must be open to execute this command. You can:
(o) Open an existing wallet
(c) Create a new wallet
(q) Abort command
Command aborted
So I type: (c) and get
>> (c)
Error: invalid command "(c)"
If anyone else has figure this out, let me know... I'm not a CS savvy guy, but I'd appreciate any help. Happy to tip you. :)
Try c without parentheses.
-
Try c without parentheses.
:-\
>> c
Error: invalid command "c"
-
@BM
Correct me if I was wrong. I am using the Windows package. When I was tried to move the wallet from one PC to another PC. I go to roaming folder and copy the wallet folder inside the BitShares X folder along. I saw that it works fine. Is it a good way to move/backup/restore the wallet?
I see that we have the backup option to export the .json file. I think it is used for backup at this point of time. The import function doesnt work yet?
Import works, it is just not user-friendly. Your approach also works.
Can someone explain how to do this (through the command line??).
My wallet crashed on one computer and I couldn't re-install and get it to reopen (Mac version, reference post here: https://bitsharestalk.org/index.php?topic=5968.msg79809#msg79809 (https://bitsharestalk.org/index.php?topic=5968.msg79809#msg79809) At least one other is having this problem too).
Able to get wallet operational on another computer but can't figure out how to import .json file.
HELP :-\
edit: I also wanted to mention this is for a registered account on the blockchain, if it makes any difference.
Alright an update on my attempts to import the .json file:
Tried to use: wallet_create_from_json <json_filename> <wallet_name> <imported_wallet_passphrase>
and then received:
wallet must be open to execute this command. You can:
(o) Open an existing wallet
(c) Create a new wallet
(q) Abort command
Command aborted
So I type: (c) and get
>> (c)
Error: invalid command "(c)"
If anyone else has figure this out, let me know... I'm not a CS savvy guy, but I'd appreciate any help. Happy to tip you. :)
This should not ask you to open a wallet if you do wallet_create_from_json. Can you copy and paste the entire series of commands and their output when you try to import the json file?
-
i backed up my wallet. then registered a few extra names that I thought of after the fact.
is there any reason I should back up my wallet again?
btsx should look at the blockchain, see who registered the those names, and associate them with that wallet in the future, right?
-
i backed up my wallet. then registered a few extra names that I thought of after the fact.
is there any reason I should back up my wallet again?
btsx should look at the blockchain, see who registered the those names, and associate them with that wallet in the future, right?
What's the point of registering extra names?
-
i backed up my wallet. then registered a few extra names that I thought of after the fact.
is there any reason I should back up my wallet again?
btsx should look at the blockchain, see who registered the those names, and associate them with that wallet in the future, right?
What's the point of registering extra names?
idk. vanity.
i registered my first name. then my first name and last initial. then my full name and my forum avatar. then remembered a nickname from my teenage years that a lot of people knew me as.
-
i backed up my wallet. then registered a few extra names that I thought of after the fact.
is there any reason I should back up my wallet again?
btsx should look at the blockchain, see who registered the those names, and associate them with that wallet in the future, right?
What's the point of registering extra names?
idk. vanity.
i registered my first name. then my first name and last initial. then my full name and my forum avatar. then remembered a nickname from my teenage years that a lot of people knew me as.
I seem to recall Bytemaster saying that multiple names would slow down your wallet.
-
i backed up my wallet. then registered a few extra names that I thought of after the fact.
is there any reason I should back up my wallet again?
btsx should look at the blockchain, see who registered the those names, and associate them with that wallet in the future, right?
What's the point of registering extra names?
idk. vanity.
i registered my first name. then my first name and last initial. then my full name and my forum avatar. then remembered a nickname from my teenage years that a lot of people knew me as.
I seem to recall Bytemaster saying that multiple names would slow down your wallet.
well crap. I'd love to see where you read that. wonder if it's possible to deregister some names.
-
well crap. I'd love to see where you read that. wonder if it's possible to deregister some names.
It is true. I assume at some point we might be able to ignore names in the wallet so they wouldn't require crypto-calculations 0, but there are tons of things like this that need to be done. :( For now don't have create many accounts unless you really know what you're doing.
-
well crap. I'd love to see where you read that. wonder if it's possible to deregister some names.
It is true. I assume at some point we might be able to ignore names in the wallet so they wouldn't require crypto-calculations 0, but there are tons of things like this that need to be done. :( For now don't have create many accounts unless you really know what you're doing.
well, I've made 8, and the transactions still seem to be confirming reasonably fast (by that I mean near instantly).
I won't make any more.
Do you think this problem is caused by many accounts, or many funded accounts? Cause I haven't funded any of them except one yet.
-
The problem is that due to the nature of TITAN, we currently must scan every transaction with every key you own to check if you've received anything. This scanning is slow.
-
I feel auto backups should be made once a new account is created. Newbies wont create backups and when there comp crashes and needs reformatting they are SOL.
-
I feel auto backups should be made once a new account is created. Newbies wont create backups and when there comp crashes and needs reformatting they are SOL.
We have plans for this: https://github.com/BitShares/bitshares_toolkit/issues/453
-
The problem is that due to the nature of TITAN, we currently must scan every transaction with every key you own to check if you've received anything. This scanning is slow.
when does this start getting noticeable? is there some recommended number of accounts that can be made while still running efficiently? maybe there should be a warning in the client when you go to create more than that numbers of accounts.
-
I havent registered any accounts on the blockchain (its optional right?). I just exported & backed up my wallet. I then imported my protoshares. Does the importing automatically move those PTS BTSX to an address that is controlled by my BTSX deterministic wallet?
Or does importing the PTS wallet just copy the PTS addresses into my BTSX wallet? In that case would I have to re-backup my BTSX wallet?
I really want to get this right...
-
I havent registered any accounts on the blockchain (its optional right?). I just exported & backed up my wallet. I then imported my protoshares. Does the importing automatically move those PTS BTSX to an address that is controlled by my BTSX deterministic wallet?
Or does importing the PTS wallet just copy the PTS addresses into my BTSX wallet? In that case would I have to re-backup my BTSX wallet?
I really want to get this right...
Importing just loads the keys, you have to make a transfer to move the funds.
-
I havent registered any accounts on the blockchain (its optional right?). I just exported & backed up my wallet. I then imported my protoshares. Does the importing automatically move those PTS BTSX to an address that is controlled by my BTSX deterministic wallet?
Or does importing the PTS wallet just copy the PTS addresses into my BTSX wallet? In that case would I have to re-backup my BTSX wallet?
I really want to get this right...
Importing just loads the keys, you have to make a transfer to move the funds.
Thanks BM. So should I copy-paste my Account Key from the Advanced tab as a new contact named "Me" and send the funds to that address?
-
I havent registered any accounts on the blockchain (its optional right?). I just exported & backed up my wallet. I then imported my protoshares. Does the importing automatically move those PTS BTSX to an address that is controlled by my BTSX deterministic wallet?
Or does importing the PTS wallet just copy the PTS addresses into my BTSX wallet? In that case would I have to re-backup my BTSX wallet?
I really want to get this right...
Importing just loads the keys, you have to make a transfer to move the funds.
Thanks BM. So should I copy-paste my Account Key from the Advanced tab as a new contact named "Me" and send the funds to that address?
No need to copy and paste the key... just send it to your account name. Be sure to vote for some delegates first :)
-
No need to copy and paste the key... just send it to your account name. Be sure to vote for some delegates first :)
Ah I see I can just type my unregistered account name into the To field - nice.
I successfully imported my PTS wallet, but then I tried importing my Electrum wallet. It said in the console "Successfully imported 12 keys from: wallet.dat" But no new funds were added to my balance. Is there something else I need to do to import from Electrum ?
-
Ok nevermind Im manually dumping my private keys from my Electrum wallet and it seems to be picking it up now. I think my computer is just incredibly slow so the qt wallet takes about a minute before it shows my funds updated.
-
I have a question to make sure that I understand when I am backing up my Bitshares:
I created two accounts. The first account that I created was the one that I registered, The second account that I created is the one that I did not register but I transferred a bulk of my BTSX (bought from Bter) from my registered to the second unregistered account. I backed up the 2nd unregistered account to another drive. I did not backup the 1st account that I registered since I already registered it before seeing this thread.
Did I do this right in backing up the 2nd unregistered BTSX account that I transferred most of my BTSX to?
Thanks in advance for your help.
-
Do I have to back up again after making any transaction? (ie. Bitcoin-qt client auto create change address after making transaction so you have to back up the wallet again)
-
No ... keys ares semi deterministic ... masterkey .. tied to you accountname is random .. each further key of that account is deterministic
..
Backing up the account key is enough to secure the account
-
Do I have to back up again after making any transaction? (ie. Bitcoin-qt client auto create change address after making transaction so you have to back up the wallet again)
not sure about the answer to your actual question, but if I were to guess I would say the answer is no because of TITAN.
off-topic, but interesting: for bitcoin (and altcoins that use the QT client) if you open your bitcoin.conf file and add the line:
keypool=aBigNumber
it will go ahead and pre-generate however many addresses you told it to (I chose 5000). It takes a minute, and it will look like the wallet froze. Then you dont have to worry about backing it up for a while.