Bittensor 9.0 Migration Guide
This page notes breaking changes for the Bittensor Python SDK v9.0
. This version supports Dynamic TAO, a major evolution of the Bittensor network's tokenomic architecture.
See: Dynamic TAO: What to expect.
Contents:
Subtensor
: removed functionsSubtensor
: type changesAsyncSubtensor
parity withSubtensor
py-substrate-interface
replaced withasync-substrate-interface
See: Concurrency with AyncIO and AsyncSubtensor
Subtensor: removed functions
get_account_next_index
This was only used for getting nonce, which can be achieved with subtensor.substrate.get_account_next_index(hotkey.ss58_address)
.
get_prometheus_info
We no longer use prometheus info.
get_total_stake_for_coldkey
Not compatible with Dynamic TAO.
Replaced with get_stake
, which returns a staked balance for a coldkey, hotkey pair on a specific subnet.
get_total_stake_for_coldkeys
Not compatible with Dynamic TAO.
Replaced with get_stake
, which returns a staked balance for a coldkey, hotkey pair on a specific subnet.