diff --git a/bittensor_cli/cli.py b/bittensor_cli/cli.py index 16e68c254..50713f70b 100755 --- a/bittensor_cli/cli.py +++ b/bittensor_cli/cli.py @@ -3818,8 +3818,10 @@ def wallet_history( # if self.config.get("network") != "finney": # console.print(no_use_config_str) - # For Rao games - print_error("This command is disabled on the 'rao' network.") + print_error( + "This command is currently disabled as it used external APIs which are no longer " + "feasible; meanwhile a chain native data fetching solution is being investigated." + ) raise typer.Exit() self.verbosity_handler(quiet, verbose, False, False) diff --git a/bittensor_cli/src/commands/wallets.py b/bittensor_cli/src/commands/wallets.py index 96c812be5..b8fc61be9 100644 --- a/bittensor_cli/src/commands/wallets.py +++ b/bittensor_cli/src/commands/wallets.py @@ -848,12 +848,19 @@ def create_transfer_history_table(transfers: list[dict]) -> Table: async def wallet_history(wallet: Wallet): - """Check the transfer history of the provided wallet.""" - print_verbose(f"Fetching history for wallet: {wallet.name}") - wallet_address = wallet.get_coldkeypub().ss58_address - transfers = await get_wallet_transfers(wallet_address) - table = create_transfer_history_table(transfers) - console.print(table) + """Check the transfer history of the provided wallet. + + Note: This command is currently disabled due to the Taostats API + requiring an API key which cannot be bundled with btcli. + See: https://github.com/opentensor/btcli/issues/235 + """ + console.print( + "[yellow]The 'wallet history' command is currently disabled.[/yellow]\n\n" + "The Taostats API that this command relied on has changed and now requires " + "an API key, which cannot be feasibly bundled with btcli.\n\n" + "A chain-native solution is being investigated.\n" + "See: https://github.com/opentensor/btcli/issues/235" + ) async def wallet_list(