BitShares Forum
Main => Technical Support => Topic started by: julian1 on October 15, 2015, 06:13:26 am
-
Ubuntu 14.04, 0.9.3c client synched.
I've tried with original keys and with regnerated keys.
wallet_regenerate_keys julian1 10500
wallet_export_keys /home/xxxx/mywallet_regenerated.json
...
> wc -l mywallet_regenerated.json
63040 mywallet_regenerated.json
> grep account mywallet_regenerated.json
"account_keys": [{
"account_name": "",
"account_name": "julian1",
Bitshares-2 client was built yesterday and appears in sync. No errors on import,
>>> import_accounts /root/docker/mywallet_regenerated.json "mypass"
...
unlocked >>> import_balance julian1 [myprivkey] true
3418275ms th_a wallet.cpp:3184 import_balance ] balances: []
import_balance julian1 [] true
[]
unlocked >>> list_account_balances julian1
list_account_balances julian1
unlocked >>>
I believe owner_key is the same as the active_key for this account. AEg,
jq '.' ./genesis.json | grep -C 3 julian1
{
"active_key": "BTS5WhZ1jAotW5RnXfrn6yCpenZLM86eiEtEd1gKeP26ZDny9oZUb",
"is_lifetime_member": false,
"name": "julian1",
"owner_key": "BTS5WhZ1jAotW5RnXfrn6yCpenZLM86eiEtEd1gKeP26ZDny9oZUb"
},
Any help appreciated.
-
bump
I've tried a lot of permutations of the above with the same result.
-
This is resolved.
I used import_accounts, import_keys then dump_private_keys and reformatted the json to include only the wifs. Then import_balance using the array of wifs.
My mistake was thinking that import_balance only needed the owner/active wifs, due to an assumption that the wallet already has all keys after the key import.