Developers

Setting Up Your Wallet

Before diving into the functionalities of TAOHarvest, it's essential to set up your wallet, the cornerstone of ownership and identity within the platform. Bittensor wallets are designed with a dual-key system for enhanced security and functionality:

- Coldkey: Acts as your secure store of funds and the main operator for transactions and staking. It's possible for one coldkey to manage multiple hotkeys.

- Hotkey: Facilitates all online operations, including signing queries, running miners, and validating. Each hotkey is uniquely linked to a single coldkey.

Creating Wallets with btcli:

To streamline your involvement in TAOHarvest, follow these steps to create your wallets using btcli.

For Owner Role:

Initiate a coldkey specifically for the owner role by executing the following command:

btcli wallet new_coldkey --wallet.name owner

For Miners:

btcli wallet new_coldkey --wallet.name miner
btcli wallet new_hotkey --wallet.name miner --wallet.hotkey default

For Validators:

btcli wallet new_coldkey --wallet.name validator
btcli wallet new_hotkey --wallet.name validator --wallet.hotkey default

Mint Tokens from Faucet

Mint Tokens from Faucet Run the command below to mint faucet tokens for your wallet.

btcli wallet faucet --wallet.name [WALLET_NAME] --subtensor.network local --subtensor.chain_endpoint wss://ws.taoharvest.com

Upon completion, you'll observe updates in your wallet balance, reflecting the successful minting of tokens.

Check Wallet Balance

To check your wallet balance, use the following command:

btcli wallet balance --wallet.name [WALLET_NAME] --subtensor.network local --subtensor.chain_endpoint wss://ws.taoharvest.com

Last updated