Author Topic: Import wallet to V2 CLI wallet  (Read 1600 times)

0 Members and 1 Guest are viewing this topic.

Offline mostar

  • Full Member
  • ***
  • Posts: 97
    • View Profile
Quote
later on go to the web ui and import the wallet, with all the keys. The balance will be reflected in the cli.

Did you mean web wallet of the light client?

My balance is fine in the web wallet. I didn't install the light client.
How do I share the account with the cli_wallet?




Offline betax

  • Hero Member
  • *****
  • Posts: 808
    • View Profile
The way I do it, is by using:

import_key <accountname> <wif>

or you can use import accounts as on the op

later on go to the web ui and import the wallet, with all the keys. The balance will be reflected in the cli.


https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline mostar

  • Full Member
  • ***
  • Posts: 97
    • View Profile
Quote
I'm stuck with this - and it didn't work for me - but you can use wallet_dump_private_key owner accountname in 9.3. 

Now me allso, it give
Code: [Select]
null

julian1

  • Guest
Quote
Other question
This guide mention that in order to claim the balances. One need to:
Code: [Select]
import_balance <account name> <private key> true

I'm stuck with this - and it didn't work for me - but you can use wallet_dump_private_key owner accountname in 9.3. 
 
« Last Edit: October 15, 2015, 06:00:57 am by julian1 »

julian1

  • Guest
Hello,

I'm following this guide:
http://docs.bitshares.eu/migration/howto-importing-wallet.html
I export my Wallet using 0.9.3c and want to import it to CLI wallet.

Code: [Select]
import_accounts myexport.json mypass

Output:
Quote
10 assert_exception: Assert Exception
fc::sha512::hash( password_hash ) == imported_keys.password_checksum:
    {}
    th_a  wallet.cpp:2591 import_accounts

mypass must be the unlock password for the wallet that was exported as the myexport.json file.  The wallet that gets exported is the one that is currently open.

Have a look inside the json and make sure it contains the account names you expect.

I noticed I accidently triggered this exception when I forgot to open the wallet prior to exporting, and was then trying to enter the password for a different wallet.

Offline mostar

  • Full Member
  • ***
  • Posts: 97
    • View Profile
Hello,

I'm following this guide:
http://docs.bitshares.eu/migration/howto-importing-wallet.html
I export my Wallet using 0.9.3c and want to import it to CLI wallet.

Code: [Select]
import_accounts myexport.json mypass

Output:
Quote
10 assert_exception: Assert Exception
fc::sha512::hash( password_hash ) == imported_keys.password_checksum:
    {}
    th_a  wallet.cpp:2591 import_accounts

and
Code: [Select]
list_my_accounts

Output:
Quote
list_my_accounts
[]

What went wrong?

Other question
This guide mention that in order to claim the balances. One need to:
Code: [Select]
import_balance <account name> <private key> true

How can I extract my private key from the old version?

Thanks
Mostar

« Last Edit: October 14, 2015, 05:41:36 pm by mostar »