BitShares Forum

Main => Technical Support => Topic started by: V D-C on December 17, 2017, 10:19:38 pm

Title: How to import wallet.dat in linux CLI 0.9.3c-linux-x86_64?
Post by: V D-C on December 17, 2017, 10:19:38 pm
I am following these steps for the cli 0.9.3c wallet -

1. install BitShares 0.9.3
2. create an account in the BitShares 0.9.3 wallet
3. import the wallet.dat file into your account (Import your Bitcoin wallet.dat)

I created an account, but I don't know the command to import the wallet.dat. I tried running wallet_export_keys /home/kat/Downloads/keys.json without importing the file and noticed the json file has this entery -- "account_keys": [] -- which makes me believe the wallet.dat probably needs importing. If I'm correct how do I import the wallet.dat into the cli wallet?

Thanks!
Title: Re: How to import wallet.dat in linux CLI 0.9.3c-linux-x86_64?
Post by: V D-C on December 20, 2017, 12:53:56 am
Tried this -

>>> wallet_open default
20004 no_such_wallet: wallet does not exist
No such wallet exists!
    {"wallet_name":"default"}
    th_a  wallet.cpp:969 open

    {"wallet_name":"default"}
    th_a  wallet.cpp:989 open

    {}
    th_a  common_api_client.cpp:2926 wallet_open

    {"command":"wallet_open"}
    th_a  cli.cpp:626 execute_command
(wallet closed) >>> wallet_open       
wallet_name: default
20004 no_such_wallet: wallet does not exist
No such wallet exists!
    {"wallet_name":"default"}
    th_a  wallet.cpp:969 open

    {"wallet_name":"default"}
    th_a  wallet.cpp:989 open

    {}
    th_a  common_api_client.cpp:2926 wallet_open

    {"command":"wallet_open"}
    th_a  cli.cpp:626 execute_command
(wallet closed) >>>


Do any of you see where the problem could be? Thanks!
Title: Re: How to import wallet.dat in linux CLI 0.9.3c-linux-x86_64?
Post by: V D-C on December 20, 2017, 12:56:28 am
Just leaving this here in case I need it sometime in the future -

https://bitsharestalk.org/index.php/topic,20822.0.html