Skip to content
Good MorningDocs
Dashboard

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.

  • 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.

Terminal window
npm install --global phala
phala auth login

You can set PHALA_API_KEY instead of using interactive login.

Terminal window
curl --proto '=https' --tlsv1.2 -LsSf \
https://github.com/taostat/gm-miner/releases/latest/download/gmcli-installer.sh | sh

Review installation scripts before running them in a privileged environment.

Start on testnet:

Terminal window
gmcli --network testnet init

For mainnet:

Terminal window
gmcli init

The wizard walks through hotkey registration, login, provider keys, deployment, and product declaration. It detects completed steps and can be run again.

Terminal window
gmcli doctor
gmcli status
gmcli earnings

gmcli doctor is the first diagnostic command. gmcli earnings reads on-chain hotkey data and requires btcli.