Helper to safely secure Alpha from miners to another coldkey and earn yield with MUV.
This script provides an automated, efficient, and secure method to manage your Alpha token holdings while optimizing rewards.
Before you start, make sure you have the following installed on your system:
- Python 3.12 or higher
gitpip
First, clone the repository to your local machine:
git clone https://github.com/minersunion/move-alpha-stake.git
cd move-alpha-stakepython -m venv venv
source venv/bin/activatepip install --upgrade pip
pip install -r requirements.txt
pip install -e .Edit the wallets.py file with your wallet names.
This is the secure coldkey you want to send your alpha stake to from the miners.
This is a list of your miner wallets that you want to move mined alpha stake from to the secure wallet.
In your terminal, use this command to run the script:
python src/stake_move.py --netuid 64You can pass the CLI arg netuid with a valid Bittensor subnet number.
This Python script automates the process of securing your staked Alpha tokens while ensuring they are generating yield.
The script executes a two-step transaction sequence designed to minimize exposure on the miner coldkey while seamlessly delegating tokens for yield generation.
Transfers Alpha tokens from the miner coldkey to the holding coldkey to reduce risk of holding large amounts on a miner.
Delegates the transferred Alpha tokens from the holding coldkey to the MUV hotkey, ensuring yield generation.
Reduces the amount of Alpha tokens stored on the miner coldkey, lowering risk.
Delegated tokens will start to earn yield.
Both actions (transfer & delegation) occur within the same block, ensuring they do not affect the Alpha token’s price chart.