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.

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

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