Vanta CLI is a command-line tool that is a fork of bittensor-cli tool for Vanta Network operations. It provides collateral management functionality and extends all standard bittensor-cli operations. Help information can be invoked for every command and option with --help option.
Vanta CLI is under active development. Please report any issues or feedback on the Vanta CLI GitHub repository.
From a high level, here is what happens to register with collateral on Vanta Network.
- Register your hotkey with Vanta Network:
vanta subnets register - Stake TAO into theta using your own hotkey:
vanta stake add - Collateral deposit, which signs an extrinsic and sends the command off to the super validator. The super validator will then transfer the amount specified into the smart contract:
vanta collateral deposit - (Optional) View collateral amount tracked in the contract:
vanta collateral list
git clone <repository-url>
cd vanta-cli
pip install .Coming soon
Coming soon
All commands are prefixed with vanta. For example: vanta wallet list
vanta collateral deposit [OPTIONS]Deposit collateral to the Vanta Network.
Options:
--wallet-name, --name- Name of the wallet to use for collateral (required)--wallet-path- Path to the wallet directory (default:~/.bittensor/wallets)--hotkey, --wallet_hotkey- Hotkey name or SS58 address of the hotkey--network- Network to connect to (default:finney)--amount- Amount of TAO to use for collateral (default: None)--prompt/--no-prompt- Whether to prompt for confirmation
vanta collateral list [OPTIONS]Check collateral balance for a miner address.
Options:
--wallet-name, --name- Name of the wallet to use for collateral (required)--wallet-path- Path to the wallet directory (default:~/.bittensor/wallets)--hotkey, --wallet_hotkey- Hotkey name or SS58 address of the hotkey--network- Network to connect to (default:finney)
vanta collateral withdraw [OPTIONS]Withdraw collateral from the Vanta Network.
Options:
--wallet-name, --name- Name of the wallet (for display purposes)--wallet-path- Path to wallet directory (default:~/.bittensor/wallets)--hotkey, --wallet_hotkey- Hotkey name or SS58 address of the hotkey--amount- Amount to withdraw from collateral (required)--prompt/--no-prompt- Whether to prompt for confirmation
The MIT License (MIT)
