Create a wallet

Let’s create a default wallet:

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

Creating wallet: default
Save password to use in the future to unlock this wallet.
Without password imported keys will not be retrievable.
"PW5Kewn9L76X8Fpd....................t42S9XCw2"

Save this password somewhere safe and label it as: DEFAULT WALLET PASSWORD

By default wallets are stored in ~/eosio-wallet/default.wallet. If you’re following the docker instructions and you’d like to SSH into your wallet docker container to explore the file system and see this file, you can run the following from a new command prompt: “docker exec -it wallet bash”

Note that the EOS master key has been added to this wallet for you. Don’t be confused by this, all you have done to this point is create a wallet – and you now have a password to unlock that wallet.

Let’s take a look at what’s in the wallet.

$cleos --wallet-url http://wallet:5555 wallet keys
[[
    "EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV",
    "5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3"
  ]
]

As you can see, there is one key pair in your newly created wallet. This is the master keypair for the sole initial account, eosio

Don’t confuse the above master key with keys that you’ll be adding in future

Close Menu