Alpha Tokens
Updated January 10, 2025
in dtao, all subnets will have a token for staking. The subnet tokens are given a letter from an alphabet (greek, hebrew, arabic, etc.) but are generically defined as 'alpha'. (alpha is also the token of subnet 1, as it is the first letter in the greek alphabet)
Alpha tokens can only be purchased with tao.
Your staking transaction will take your tao to purchase alpha. This is done through a liquidity pool. Since each subnet has a token, each subnet has a liquidity pool (or Subnet Pool) that converts tao to the token of the subnet
In the screenshot above of the btcli, the P column shows the amount of tao and alpha available in the liquidity pools for subnets 255 and 2. Subnet 2's pool has 21.65 tao and 5,170 beta.
Subnet Pools
The subnet pool is a critical part of staking into a subnet. It is used to convert your tao into alpha.
Alpha Price
The Subnet pool determines the alpha price
Using subnet 2 above, we use the tao_in and the alpha_in to calculate the price of the token.
Slippage
When buying or selling through a liquidity pool, there is an inherent loss during the purchase called slippage. The larger the purchase amount, the higher the slippage.
The values in the pool equal a constant.
If you buy alpha, this constant remains the same, so the actual amount of alpha purchased uses the following equation:
When you unstake alpha for tao, you will also incur slippage
Calculating Slippage
If you buy alpha, you will incur slippage - the price is effected by you buying alpha.
Say you bought 1 tao of subnet 2. Using the numbers above, you might expect to receive:
But, your purchase of alpha modifies the price, and you will receive ~ 10 alpha less than you expect
Your slippage is the % difference. In this example - 4.4% slippage.
Updated 2 days ago