Import wallet to V2 CLI wallet

Started by mostar, October 14, 2015, 04:16:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mostar

Quotelater 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?




betax

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.


[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

mostar

QuoteI'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
null

julian1

#3
Quote
Other question
This guide mention that in order to claim the balances. One need to:

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. 

julian1

Quote from: mostar on October 14, 2015, 04:16:02 PM
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.


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.

mostar

#1
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.


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

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:

import_balance <account name> <private key> true


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

Thanks
Mostar