Options can be passed as command-line flags, as FEARMINER_<OPTION> environment variables, or from a fearminer.toml file beside the binary. The command line wins over the environment, which wins over the file.
-a, --algo NAME quantus (GPU), randomx or verushash (CPU)
-o, --url URL pool, as stratum+ssl:// or stratum+tcp://. Repeat the
flag (or comma-separate) to add a backup pool: the
primary is probed every 5 minutes and taken back
-u, --user WALLET payout address; append .WORKER to name this rig
-p, --pass PASS pool password (usually x)
-w, --worker NAME worker name, instead of the suffix on --user
-d LIST mine on these GPUs only: indices from --list-devices,
a PCI id (pci:0000:41:00.0), or "!1" to leave one out
-t N add N CPU threads (off by default on a rig with a GPU)
--config PATH read everything from a TOML file
--job-timeout N seconds without a new job before reconnecting
--pool-retries N attempts on a pool before the next one is tried
Thermal limits, on by default:
--temp-limit C pause a GPU at this temperature, default 90; 0 turns
the cut-off off
--temp-resume C resume it once it has cooled to this, default 75
Reliability and output:
--no-watchdog do not restart a hung, silent or ghost-hashrate card
--no-supervisor one process, no restart after a crash
--max-restarts N restarts allowed within --restart-window before the
supervisor gives up
--no-tui plain scrolling log instead of the cockpit
--log-file PATH also write the log to a rotated file
--allow-root mine as root; refused otherwise
These run instead of mining: the miner prints what you asked for and exits.
fearminer --list-algorithms
the algorithms this build has, each with its dev fee
fearminer --list-devices
your GPUs, with the indices and PCI ids that -d accepts
fearminer --benchmark --duration 30
measures the hashrate for 30 seconds without connecting to a pool
fearminer --dry-run -a quantus -o POOL -u WALLET
prints every setting the miner would run with and where each one came
from - a default, the configuration file, the environment or the command
line. Use it when a setting does not seem to take effect
fearminer --check-config -a quantus -o POOL -u WALLET
validates the same setup without starting: exit code 0 if it would run,
2 and the reason if it would not. For a flight sheet or a service unit
fearminer config example > fearminer.toml
writes a commented configuration file to edit instead of a long command
fearminer explain E302
the cause behind an error code from the log, what it affects and the fix
fearminer verify SHA256SUMS
checks a downloaded release against its signature, offline; the signing
key is built into the binary
fearminer token show
the API token needed to read the API from another machine;
token rotate replaces it