Swap

Crosschain subnet token swaps

Using TaoFi, users can buy Bittensor subnet tokens from Base in one transaction. Here's how it works:

  1. Tokens on Base are swapped to USDC

  2. The USDC is bridged to Bittensor EVM via TaoFi’s bridge

  3. The USDC is swapped to $TAO on Bittensor EVM via TaoFi’s liquidity pool

  4. The $TAO is swapped to a subnet token via Bittensor’s canonical EVM precompiles

To sell subnet tokens, users can execute a single transaction from Base to receive Base USDC.

Subnet tokens are held in Hyperlane interchain accounts. Interchain accounts provide the infrastructure for users to be able to execute transactions on Bittensor EVM from Base. All swaps performed through TaoFi's canonical user interface incur a 0.1% fee. Users earn 100% of fees from swaps that use their referral link.

Subnet tokens bought through TaoFi earn the same staking yield that they would if they were bought directly on Bittensor. Yield is accrued via rebasing (i.e., the number of tokens will increase over time). Subnet tokens bought using TaoFi's canonical user interface are staked to the Sturdy Validator.

Third-party interfaces that integrate TaoFi's API and/or smart contracts can set their own fee amount and choice of validator. TaoFi's smart contracts can be found here.

Uniswap V3 deployment

TaoFi has deployed Uniswap V3 on Bittensor EVM, enabling users to swap between assets on the network. TaoFi has deployed a TAO-USDC trading pair, making it possible for users to permissionlessly buy and sell TAO. Swaps through this pool have a 0.3% fee, which goes entirely to liquidity providers.

Users can provide liquidity to the TAO-USDC pair to earn fees. Liquidity is allocated to a custom range. For example, a liquidity provider could provide USDC liquidity in the $400-450 price range, effectively serving as a permissionless limit order limit order.

TaoFi will be releasing additional pairs and tools for liquidity providers.

Last updated