# azminer-app/azminer architecture

> Architecture diagram of the GitHub repository azminer-app/azminer, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-13). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/azminer-app/azminer
- Repository: https://github.com/azminer-app/azminer

## Overview

azminer is a standalone NVIDIA GPU miner for Pearl, Quantus, and Parano1d. The documented user workflow is to select an algorithm, provide pool and wallet settings, choose GPUs, and run the miner; it connects to a pool and mines on detected devices. Supporting capabilities include failover, tuning and thermal protection, watchdogs, logging, and a monitoring API. The repository tree contains no implementation files, so paths are unavailable and relationships below are limited to those stated in the README.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_operation["Mining operation"]
  node_miner["azminer executable"]
  node_settings["CLI and JSON settings"]
  node_pool["Mining pool"]
  node_failover["Pool failover"]
  node_watchdog["Stall watchdog"]
  node_schedule["Timed operation"]
  node_devfee["Dev fee intervals"]
end

subgraph group_algorithms["Coin algorithms"]
  node_pearl["Pearl mining"]
  node_quantus["Quantus mining"]
  node_parano1d["Parano1d mining"]
end

subgraph group_gpu["GPU management"]
  node_devices["CUDA device detection"]
  node_gpu["NVIDIA GPUs"]
  node_nvml["NVML controls"]
  node_protection["Thermal protection"]
end

subgraph group_monitoring["Monitoring and integration"]
  node_api["Monitoring API"]
  node_rig["Rig integration"]
  node_logs["File and terminal logs"]
  node_diagnostics["Device and kernel diagnostics"]
end

node_user(("Miner operator"))
node_clients(("Monitoring clients"))

node_user -->|"runs"| node_miner
node_user -->|"sets options"| node_settings
node_settings -->|"configures"| node_miner
node_miner -->|"selects algorithm"| node_pearl
node_miner -->|"selects algorithm"| node_quantus
node_miner -->|"selects algorithm"| node_parano1d
node_miner -->|"detects devices"| node_devices
node_devices -->|"lists devices"| node_gpu
node_miner -->|"mines through"| node_pool
node_miner -->|"supports"| node_failover
node_miner -->|"supports"| node_watchdog
node_miner -->|"supports"| node_schedule
node_miner -->|"collects fees"| node_devfee
node_miner -->|"uses"| node_nvml
node_nvml -->|"tunes"| node_gpu
node_miner -->|"supports"| node_protection
node_user -->|"enables"| node_api
node_clients -->|"requests stats"| node_api
node_api -->|"serves stats to"| node_rig
node_miner -->|"writes"| node_logs
node_user -->|"runs"| node_diagnostics

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_miner,node_settings,node_pool,node_failover,node_watchdog,node_schedule,node_devfee,node_clients toneBlue
class node_pearl,node_quantus,node_parano1d toneAmber
class node_devices,node_gpu,node_nvml,node_protection toneMint
class node_api,node_rig,node_logs,node_diagnostics toneRose
class node_user toneIndigo
```

## Components

### Mining operation

- **azminer executable**
- **CLI and JSON settings**
- **Mining pool**
- **Pool failover**
- **Stall watchdog**
- **Timed operation**
- **Dev fee intervals**

### Coin algorithms

- **Pearl mining**
- **Quantus mining**
- **Parano1d mining**

### GPU management

- **CUDA device detection**
- **NVIDIA GPUs**
- **NVML controls**
- **Thermal protection**

### Monitoring and integration

- **Monitoring API**
- **Rig integration**
- **File and terminal logs**
- **Device and kernel diagnostics**

### Other components

- **Miner operator**
- **Monitoring clients**

## Connections

- Miner operator → azminer executable: runs (evidence: `README.md`)
- Miner operator → CLI and JSON settings: sets options (evidence: `README.md`)
- CLI and JSON settings → azminer executable: configures (evidence: `README.md`)
- azminer executable → Pearl mining: selects algorithm (evidence: `README.md`)
- azminer executable → Quantus mining: selects algorithm (evidence: `README.md`)
- azminer executable → Parano1d mining: selects algorithm (evidence: `README.md`)
- azminer executable → CUDA device detection: detects devices (evidence: `README.md`)
- CUDA device detection → NVIDIA GPUs: lists devices (evidence: `README.md`)
- azminer executable → Mining pool: mines through (evidence: `README.md`)
- azminer executable → Pool failover: supports (evidence: `README.md`)
- azminer executable → Stall watchdog: supports (evidence: `README.md`)
- azminer executable → Timed operation: supports (evidence: `README.md`)
- azminer executable → Dev fee intervals: collects fees (evidence: `README.md`)
- azminer executable → NVML controls: uses (evidence: `README.md`)
- NVML controls → NVIDIA GPUs: tunes (evidence: `README.md`)
- azminer executable → Thermal protection: supports (evidence: `README.md`)
- Miner operator → Monitoring API: enables (evidence: `README.md`)
- Monitoring clients → Monitoring API: requests stats (evidence: `README.md`)
- Monitoring API → Rig integration: serves stats to (evidence: `README.md`)
- azminer executable → File and terminal logs: writes (evidence: `README.md`)
- Miner operator → Device and kernel diagnostics: runs (evidence: `README.md`)
