Sets barrier to entry for creating subnets.
Current Value
1,000.00 TAO (1000000000000 raw)
Conversion: ÷ 10^9 (RAO → TAO)
Relevant for: subnet ownersdevelopers
The Big Picture
Creating a subnet requires locking TAO as collateral. This constant sets the minimum - the actual cost may be higher based on demand. Unlike burn costs, locked TAO can be recovered by dissolving the subnet after the immunity period.
Why This Matters
Before creating a subnet, you need to know the minimum capital requirement. This is locked, not burned - you get it back if you dissolve the subnet properly.
Example
If InitialNetworkMinLockCost is 100 TAO, you need at least 100 TAO to create a subnet. The actual cost when you register may be higher if there's high demand for slots.
Common Questions
- Is this the final cost?
- It's the minimum. Check NetworkMinLockCost storage for current actual cost, which adjusts based on demand.
- How do I get my lock back?
- Dissolve your subnet after the immunity period. The locked TAO returns to you.
Use Cases
- Subnet registration
- Lock calculations
Code Examples
import { createClient, Binary } from "polkadot-api";
import { getWsProvider } from "polkadot-api/ws";
import { sub } from "@polkadot-api/descriptors"; // generated by: npx papi add sub -w wss://entrypoint-finney.opentensor.ai:443
const client = createClient(getWsProvider("wss://entrypoint-finney.opentensor.ai:443"));
const api = client.getTypedApi(sub);
// Query InitialNetworkMinLockCost constant
const value = await api.constants.SubtensorModule.InitialNetworkMinLockCost();
console.log("InitialNetworkMinLockCost:", value);
// Balance: divide by 10^9 for TAO
const tao = value / 1_000_000_000n;Type Information
- Type
- u64
- Byte Size
- 8 bytes
- Encoding
- fixed
- Raw Hex
- 0x0010a5d4e8000000
Runtime Info
- Pallet
- SubtensorModule
- First Version
- v133
- Latest Version
- v133
- Current Runtime
- v411