How bitmaker-hub/nerdminer_v2 works
NerdSoloMiner is ESP32 firmware for solo Bitcoin mining, with configurable Wi-Fi and pool settings, mining/status displays, and support for multiple boards. Its documented workflow is to configure Wi-Fi and a Bitcoin address, connect to a Stratum pool, process mining work, and monitor results through the device screens. The graph preserves the documented screen and hardware branches. Several runtime files were not sampled, so their internal links are omitted or marked unverified rather than inferred.
Main entry points: display.cpp Display routing · wManager.cpp Wi-Fi setup · mining.cpp Mining work · ui.h LVGL UI
Components 24
Miner runtime
- Stratum client
src/stratum.cpp - Mining work
src/mining.cpp - SHA-256 hashing
src/ShaTests/nerdSHA256plus.cpp - Miner statistics
src/monitor.h
Configuration
- Wi-Fi setup
src/wManager.cpp - Miner settings
src/drivers/storage/storage.h - Persistent settings
src/drivers/storage/nvMemory.h - SD configuration
src/drivers/storage/SDCard.cpp
Device interface
- Display routing
src/drivers/displays/display.cpp - Mining screen
lib/hansolov2/screens/ui_HomeScreen.c - Clock screen
lib/hansolov2/screens/ui_ClockScreen.c - Global stats screen
lib/hansolov2/screens/ui_StatsScreen.c - Touch input
src/TouchHandler.cpp - LVGL UI
lib/hansolov2/ui.h
Display stack
- TFT graphics
lib/TFT_eSPI/TFT_eSPI.cpp - TFT interface
lib/TFT_eSPI/TFT_eSPI.h - Processor backends
lib/TFT_eSPI/Processors - LCD controller setup
lib/TFT_eSPI/TFT_Drivers - Screen artwork
src/media/images_320_170.h - Display fonts
src/media/myFonts.h
Hardware support
- Board selection
src/drivers/devices/device.h - Display drivers
src/drivers/displays
Other components
- Miner operator
- Stratum pool
Connections 27
- Miner operator → Wi-Fi setup: configures
README.md - Wi-Fi setup → Miner settings: sets
src/wManager.cpp - Wi-Fi setup → Persistent settings: loads and saves
src/wManager.cpp - Wi-Fi setup → SD configuration: reads config
- Miner settings → Stratum client: sets pool
- Stratum client → Stratum pool: exchanges work
README.md - Stratum client → Mining work: provides jobs
- Mining work → SHA-256 hashing: hashes work
- Mining work → Miner statistics: updates stats
- Wi-Fi setup → Mining work: references
src/wManager.cpp - Wi-Fi setup → Miner statistics: references
src/wManager.cpp - Wi-Fi setup → Display routing: references
src/wManager.cpp - Display routing → Board selection: selects board
- Board selection → Display drivers: selects driver
- Display routing → Miner statistics: reads metrics
- Display routing → Screen artwork: uses artwork
- Display routing → Display fonts: uses fonts
- Display routing → Mining screen: renders mining
- Display routing → Clock screen: renders clock
- Display routing → Global stats screen: renders global stats
- Touch input → Display routing: switches screens
- TFT graphics → TFT interface: implements
lib/TFT_eSPI/TFT_eSPI.cpp - TFT graphics → Processor backends: includes backend
lib/TFT_eSPI/TFT_eSPI.cpp - TFT graphics → LCD controller setup: includes setup
lib/TFT_eSPI/TFT_eSPI.cpp - LVGL UI → Mining screen: declares screen
lib/hansolov2/ui.h - LVGL UI → Global stats screen: declares screen
lib/hansolov2/ui.h - LVGL UI → Clock screen: declares screen
lib/hansolov2/ui.h