Moving from the web wallet to the cli wallet

Started by mostar, October 20, 2015, 08:59:49 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

xeroc

if you have participated in the testnets with the same wallet you need to create a new wallet (e.g. by renaming wallet.json)

fav

Join us on Hive: [url="https://peakd.com/c/hive-120117/created"]https://peakd.com/c/hive-120117/created[/url]

mostar


mostar

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:
Quote
10 assert_exception: Assert Exception
rec && rec->name == account_name_or_id:
    {}
    th_a  wallet.cpp:530 get_account

list_my_accounts

Output:
Quote
list_my_accounts
[]

The account name is in
https://bitshares.org/wallet/#/explorer/accounts

Please advise

xeroc


fav

Quote from: xeroc on October 21, 2015, 01:47:47 PM
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 :)
Join us on Hive: [url="https://peakd.com/c/hive-120117/created"]https://peakd.com/c/hive-120117/created[/url]

xeroc

examples:

import_key "nathan" 5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3
or
import_accounts <path to exported json> <password of wallet you exported from>

@fav: what's the error?

fav

Quote from: xeroc on October 20, 2015, 05:19:23 PM
import_key is the correct command ..

got the same errors in windows. won't let me import my priv key
Join us on Hive: [url="https://peakd.com/c/hive-120117/created"]https://peakd.com/c/hive-120117/created[/url]

xeroc


mostar

Quote from: xeroc on October 20, 2015, 01:48:26 PM
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?

xeroc

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 :(

mostar

Quote from: xeroc on October 20, 2015, 01:07:23 PM

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

xeroc


xeroc

Quote from: mostar on October 20, 2015, 12:22:23 PM
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:
Quote
10 assert_exception: Assert Exception
rec && rec->name == account_name_or_id:
    {}
    th_a  wallet.cpp:530 get_account

list_my_accounts

Output:
Quote
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-

liondani

Is it safe when active key is the same with the owner key?
[url="https://www.steempeak.com/@liondani"]https://www.steempeak.com/@liondani[/url]