Skip to content

Commit df5f474

Browse files
quick fix child hotkey stake threshold (#126)
* wip * wip
1 parent e34ea66 commit df5f474

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

docs/validators/child-hotkeys.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ See the above diagram. With the child hotkeys, if an attacker steals a child hot
5050
The terms "child hotkey" and "parent hotkey" are only terms of convenience. There is nothing inherently different about a "child hotkey" that separates it from a "parent hotkey". Neither have any special attributes compared to a normal hotkey.
5151
:::
5252

53-
---
54-
5553
## Features
5654

5755
The child hotkey features are as follows:
@@ -71,18 +69,21 @@ The following rate limits apply for child hotkeys:
7169

7270
See [Rate Limits in Bittensor](../learn/chain-rate-limits.md).
7371

74-
## Minimum stake
72+
## Minimum stake requirement
7573

76-
The minimum stake you can redelegate to a child hotkey is as follows:
74+
To set child hotkeys, the parent hotkey must have a minimum total stake. This requirement checks the TAO-equivalent value of your alpha stake across all subnets.
7775

78-
- **Testnet**: 100 testnet ALPHA.
79-
- **Mainnet**: 1000 ALPHA.
76+
The minimum stake requirement is:
8077

81-
---
78+
- **Mainnet**: 1000 TAO worth of alpha
79+
- **Testnet**: 100 TAO worth of alpha
8280

83-
## Installing
81+
**How it's calculated**: Your alpha stake is summed **across ALL subnets** (not just the subnet where you're setting children). Each subnet's alpha is converted to TAO value using that subnet's alpha price, then all values are summed together. View [source code](https://github.com/opentensor/subtensor/blob/main/pallets/subtensor/src/staking/helpers.rs#L47-L62).
82+
83+
:::tip
84+
Query `subtensorModule.stakeThreshold()` to check the current threshold.
85+
:::
8486

85-
This feature is available in Bittensor 7.4.0 and later versions. See [Install Bittensor](../getting-started/installation.md).
8687

8788
## Child hotkey commands
8889

0 commit comments

Comments
 (0)