bittensor.commands.list#
Module Contents#
Classes#
| Executes the  | 
Attributes#
- class bittensor.commands.list.ListCommand#
- Executes the - listcommand which enumerates all wallets and their respective hotkeys present in the user’s Bittensor configuration directory.- The command organizes the information in a tree structure, displaying each wallet along with the - ss58addresses for the coldkey public key and any hotkeys associated with it.- Optional arguments:
- -p,- --path: The path to the Bittensor configuration directory. Defaults to ‘~/.bittensor’.
 
 - The output is presented in a hierarchical tree format, with each wallet as a root node, and any associated hotkeys as child nodes. The - ss58address is displayed for each coldkey and hotkey that is not encrypted and exists on the device.- Usage:
- Upon invocation, the command scans the wallet directory and prints a list of all wallets, indicating whether the public keys are available ( - ?denotes unavailable or encrypted keys).
 - Example usage: - btcli wallet list --path ~/.bittensor - Note - This command is read-only and does not modify the filesystem or the network state. It is intended for use within the Bittensor CLI to provide a quick overview of the user’s wallets. - static add_args(parser)#
- Parameters:
- parser (argparse.ArgumentParser) – 
 
 - static check_config(config)#
- Parameters:
- config (bittensor.config) – 
 
 - static run(cli)#
- Lists wallets. 
 
- bittensor.commands.list.console#