Skip to content

Commit c4ba7c0

Browse files
committed
Merge branch 'fix/disable-wallet-history-235' of https://github.com/jose-blockchain/btcli into fix/disable-wallet-history-235
2 parents 9565ddd + 66d482b commit c4ba7c0

1 file changed

Lines changed: 13 additions & 6 deletions

File tree

bittensor_cli/src/commands/wallets.py

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -848,12 +848,19 @@ def create_transfer_history_table(transfers: list[dict]) -> Table:
848848

849849

850850
async def wallet_history(wallet: Wallet):
851-
"""Check the transfer history of the provided wallet."""
852-
print_verbose(f"Fetching history for wallet: {wallet.name}")
853-
wallet_address = wallet.get_coldkeypub().ss58_address
854-
transfers = await get_wallet_transfers(wallet_address)
855-
table = create_transfer_history_table(transfers)
856-
console.print(table)
851+
"""Check the transfer history of the provided wallet.
852+
853+
Note: This command is currently disabled due to the Taostats API
854+
requiring an API key which cannot be bundled with btcli.
855+
See: https://github.com/opentensor/btcli/issues/235
856+
"""
857+
console.print(
858+
"[yellow]The 'wallet history' command is currently disabled.[/yellow]\n\n"
859+
"The Taostats API that this command relied on has changed and now requires "
860+
"an API key, which cannot be feasibly bundled with btcli.\n\n"
861+
"A chain-native solution is being investigated.\n"
862+
"See: https://github.com/opentensor/btcli/issues/235"
863+
)
857864

858865

859866
async def wallet_list(

0 commit comments

Comments
 (0)