BitShares Forum
Main => Technical Support => Topic started by: mostar on October 20, 2015, 08:59:49 am
-
Hi,
I Didn't find any reference regarding how to move my wallet from the web wallet to the cli wallet.
Can I use them in parallel with the same account?
Thanks
-
Yes you can.
From the webwallet, go into your account->permission->owner permission->click on the account key-> show the private key and copy it down
Go to cli wallet->
import_key myaccountname myprivatekeystring true
-
you will need to import the OWNER key if you want to edit the account settings and
you will need to import the ACTIVE key if you want to spend funds
-
import_key myaacountname myprivkey true
Output:
10 assert_exception: Assert Exception
rec && rec->name == account_name_or_id:
{}
th_a wallet.cpp:530 get_account
you will need to import the OWNER key if you want to edit the account settings and
you will need to import the ACTIVE key if you want to spend funds
Which commands import OWNER and ACTIVE keys
I already used the "Owner Permissions" private key in this command:
import_key myaacountname myprivkey true
-
you can do the same with the active key
import_key myaacountname active_wif_key true
-
I did
import_key myaacountname my-Owner-Permissions-private-key true
import_key myaacountname my-Active-Permissions-private-key true
In both cases the output was:
10 assert_exception: Assert Exception
rec && rec->name == account_name_or_id:
{}
th_a wallet.cpp:530 get_account
list_my_accounts
Output:
list_my_accounts
[]
Look like some thing missing.
-
Is it safe when active key is the same with the owner key?
-
I did
import_key myaacountname my-Owner-Permissions-private-key true
import_key myaacountname my-Active-Permissions-private-key true
In both cases the output was:
10 assert_exception: Assert Exception
rec && rec->name == account_name_or_id:
{}
th_a wallet.cpp:530 get_account
list_my_accounts
Output:
list_my_accounts
[]
Look like some thing missing.
sure about your account name? try find your name in
https://bitshares.org/wallet/#/explorer/accounts
it may have been prefixed with bts-
-
Is it safe when active key is the same with the owner key?
yes it is safe
-
sure about your account name? try find your name in
https://bitshares.org/wallet/#/explorer/accounts
it may have been prefixed with bts-
Yes I'm sure. Found it in https://bitshares.org/wallet/#/explorer/accounts
It don't have "bts-" prefixed
-
when you run wallet_import .. the account name afterwards has to MATCH the account name registered with the private key .. not sure what you are doing wrong here :(
-
when you run wallet_import .. the account name afterwards has to MATCH the account name registered with the private key .. not sure what you are doing wrong here :(
Its new cli_wallet installation. I didn't try to run "wallet_import" only "import_key", What is the correct order on commands?
-
import_key is the correct command ..
-
import_key is the correct command ..
got the same errors in windows. won't let me import my priv key
-
examples:
import_key "nathan" 5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3
or
import_accounts <path to exported json> <password of wallet you exported from>
@fav: what's the error?
-
examples:
import_key "nathan" 5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3
or
import_accounts <path to exported json> <password of wallet you exported from>
@fav: what's the error?
we got it figured.
you have to set a password first and unlock the wallet in order to import your private key.
thx to telegram group :)
-
dang .. forgot about that :| woops
-
My wallet is open and it still not working:
I did
set_password somepassword
unlock somepassword
import_key "myaacountname" my-Owner-Permissions-private-key true
import_key "myaacountname" my-Active-Permissions-private-key true
In both cases the output was:
10 assert_exception: Assert Exception
rec && rec->name == account_name_or_id:
{}
th_a wallet.cpp:530 get_account
list_my_accounts
Output:
list_my_accounts
[]
The account name is in
https://bitshares.org/wallet/#/explorer/accounts
Please advise
-
Any one have an idea?
-
try without " "
-
if you have participated in the testnets with the same wallet you need to create a new wallet (e.g. by renaming wallet.json)