Mining overview
GM miners supply upstream model capacity and earn the spread between their declared offer and GM’s buyer price. The miner workload runs in a Phala Cloud confidential virtual machine.
The canonical operator software and detailed reference live in the public taostat/gm-miner repository.
Prerequisites
Section titled “Prerequisites”- A funded Phala Cloud account and API key.
- A Bittensor hotkey registered on GM’s subnet.
- At least one supported upstream provider API key.
- A workstation from which to run
gmcli.
Mainnet is netuid 28. Testnet is netuid 482.
Install the Phala CLI
Section titled “Install the Phala CLI”npm install --global phalaphala auth loginYou can set PHALA_API_KEY instead of using interactive login.
Install gmcli
Section titled “Install gmcli”curl --proto '=https' --tlsv1.2 -LsSf \ https://github.com/taostat/gm-miner/releases/latest/download/gmcli-installer.sh | shReview installation scripts before running them in a privileged environment.
Run guided onboarding
Section titled “Run guided onboarding”Start on testnet:
gmcli --network testnet initFor mainnet:
gmcli initThe wizard walks through hotkey registration, login, provider keys, deployment, and product declaration. It detects completed steps and can be run again.
Diagnose and inspect
Section titled “Diagnose and inspect”gmcli doctorgmcli statusgmcli earningsgmcli doctor is the first diagnostic command. gmcli earnings reads on-chain
hotkey data and requires btcli.