Loading
Loading

Neuron registration trends
Swap (SN10) is a Bittensor subnet that incentivizes miners to provide liquidity to the TAO<>USDC pool on TaoFi. Miners earn rewards based on the fees their liquidity positions generate over a 24-hour period, bringing decentralized liquidity provision to the Bittensor network.
The Swap subnet operates with miners providing liquidity to the TaoFi TAO<>USDC pool using EVM wallets, while validators monitor these positions and score miners based on earned fees. Miners register with their EVM addresses and receive rewards to their Bittensor hotkey. Validators connect to subtensor (preferably local) to coordinate scoring and weight setting, with optional Weights & Biases integration for monitoring.
Validators monitor the positions provided by miners on the TaoFi platform and score them based on accumulated fees. Miners earn rewards distributed to their miner hotkey address proportional to their position's fee generation. This creates a direct incentive for miners to provide deep liquidity that attracts trading volume.
The sections above were auto-generated from the GitHub repository and may not reflect the latest changes. View repository
The Intelligence Layer for AI Inference
This information was auto-extracted from the GitHub repository and may be incomplete or out of date. Always refer to the subnet's GitHub repository for the latest instructions.
Holder & total-staked metrics as of 2h ago (hourly snapshot)
Miners primarily need an EVM wallet and access to TaoFi platform. Hardware requirements are minimal as the subnet focuses on liquidity provision rather than computation.
Validators are recommended to run a local subtensor instance for better performance and reliability rather than connecting to remote endpoints.
Clone the Swap subnet repository
git clone https://github.com/Swap-Subnet/swap-subnet/ && cd swap-subnet
Install uv package manager for fast Python dependency management
curl -LsSf https://astral.sh/uv/install.sh | sh
Install Python dependencies and activate virtual environment
uv sync && source ~/.venv/bin/activate && uv pip install -e .
Configure environment with EVM wallet private key for TaoFi liquidity provision
Edit .env file to include EVM_KEY="your_private_key_here"
Commit miner type and associate EVM address with hotkey on the network
python3 scripts/commit.py --netuid NETUID --subtensor.network NETWORK --wallet.name NAME --wallet.hotkey HOTKEY --miner-type UNISWAP_V3_LP
Provide liquidity to TaoFi pool using MetaMask or compatible EVM wallet
Navigate to https://www.taofi.com/pool and add liquidity to TAO<>USDC pool
Clone the Swap subnet repository
git clone https://github.com/Swap-Subnet/swap-subnet/ && cd swap-subnet
Install uv package manager
curl -LsSf https://astral.sh/uv/install.sh | sh
Install Python dependencies
uv sync && source ~/.venv/bin/activate && uv pip install -e .
Install Node.js and PM2 for process management
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && apt-get install -y nodejs && npm install -g pm2
Copy example environment file and configure with subtensor provider URLs
cp .env.example .env
Set up Weights & Biases logging (highly recommended)(optional)
wandb login
Start validator process (without PM2)
python neurons/validator.py --netuid NETUID --subtensor.network local --wallet.name NAME --wallet.hotkey HOTKEY --logging.debug
Start validator with PM2 for daemon management(optional)
pm2 start --name PROC_NAME --interpreter=python3 neurons/validator.py -- --netuid NETUID --subtensor.network local --wallet.name NAME --wallet.hotkey HOTKEY --logging.debug