eos icon indicating copy to clipboard operation
eos copied to clipboard

when restart nodeos,cleos wallet list shows no wallet?

Open guaiguaihw opened this issue 8 years ago • 3 comments

I use the command below to start test network: nodeos -e -p eosio --plugin eosio::wallet_api_plugin --plugin eosio::chain_api_plugin --plugin eosio::account_history_api_plugin And I create a wallet, use command: cleos wallet create -n test I could find my wallet, use command: cleos wallet list then I stop the test network, use ctrl+c. when I restart the test network, use cleos wallet list, there is no wallet list? why??

guaiguaihw avatar May 03 '18 09:05 guaiguaihw

I think you forgot to re-open the wallet with 'cleos wallet open -n test' then you should unlock 'test' wallet with the 'wallet master key'.

mjshin82 avatar May 03 '18 09:05 mjshin82

Yes, it's a bit confusing that command only shows you open wallets. Not all wallets that exist / have been created. One you open the wallet it'll show up in the list. Note that an open wallet still needs to be unlocked ... unless you see a * after then name of the wallet, it's not unlocked.

./cleos wallet list
Wallets:
[
  "default *"
]

BinaryFocus avatar May 04 '18 02:05 BinaryFocus

Thanks all, the problem has been solved.

guaiguaihw avatar May 08 '18 02:05 guaiguaihw