Wallets need to be opened

Something that can be a little confusing is that wallets that are not “open” are not listed when using the “list” command. Here’s an example:

Let’s start by killing and restarting the keosd process.

$ pkill keosd
$ ./keosd

We can now see that using the list command returns nothing … where’d my wallet go?

$cleos --wallet-url http://wallet:5555 wallet list

Wallets:
[]

The catch is, the wallet needs to be “opened” before it’ll show up in your list of wallets (something that can be improved in my opinion)

$cleos --wallet-url http://wallet:5555 wallet open

$cleos --wallet-url http://wallet:5555 wallet list

Wallets:
[
  "default"
]
Close Menu