Is there a quick and easy way to see the public key of the account that is being used by solana cli?
For example, I know it's possible to cat
the file ~/.config/solana/cli/config.yml
and cat
and see
json_rpc_url: "https://api.mainnet-beta.solana.com"
websocket_url: ""
keypair_path: /root/.config/solana/id.json
address_labels:
"11111111111111111111111111111111": System Program
commitment: confirmed
but does the cli have a way of showing what is the public key of id.json
(or whatever keypair you happen to have in the config file)?