Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 12 additions & 26 deletions bittensor_cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,15 @@ def edit_help(cls, option_name: str, help_text: str):
"--wallet.hotkey",
help="Hotkey name or SS58 address of the hotkey",
)
coldkey_ss58 = typer.Option(
None,
"--ss58",
"--coldkey-ss58",
"--coldkey_ss58",
"--key",
"-k",
help="Coldkey address of the wallet",
)
mnemonic = typer.Option(
None,
help='Mnemonic used to regenerate your key. For example: "horse cart dog ..."',
Expand Down Expand Up @@ -3830,16 +3839,7 @@ def wallet_get_id(
wallet_name: Optional[str] = Options.wallet_name,
wallet_hotkey: Optional[str] = Options.wallet_hotkey,
wallet_path: Optional[str] = Options.wallet_path,
coldkey_ss58=typer.Option(
None,
"--ss58",
"--coldkey_ss58",
"--coldkey.ss58_address",
"--coldkey.ss58",
"--key",
"-k",
help="Coldkey address of the wallet",
),
coldkey_ss58: Optional[str] = Options.coldkey_ss58,
network: Optional[list[str]] = Options.network,
quiet: bool = Options.quiet,
verbose: bool = Options.verbose,
Expand Down Expand Up @@ -4259,14 +4259,7 @@ def get_auto_stake(
network: Optional[list[str]] = Options.network,
wallet_name: Optional[str] = Options.wallet_name,
wallet_path: Optional[str] = Options.wallet_path,
coldkey_ss58=typer.Option(
None,
"--ss58",
"--coldkey_ss58",
"--coldkey.ss58_address",
"--coldkey.ss58",
help="Coldkey address of the wallet",
),
coldkey_ss58: Optional[str] = Options.coldkey_ss58,
quiet: bool = Options.quiet,
verbose: bool = Options.verbose,
json_output: bool = Options.json_output,
Expand Down Expand Up @@ -4394,14 +4387,7 @@ def stake_list(
wallet_name: Optional[str] = Options.wallet_name,
wallet_hotkey: Optional[str] = Options.wallet_hotkey,
wallet_path: Optional[str] = Options.wallet_path,
coldkey_ss58=typer.Option(
None,
"--ss58",
"--coldkey_ss58",
"--coldkey.ss58_address",
"--coldkey.ss58",
help="Coldkey address of the wallet",
),
coldkey_ss58: Optional[str] = Options.coldkey_ss58,
live: bool = Options.live,
quiet: bool = Options.quiet,
verbose: bool = Options.verbose,
Expand Down