Reverse engineered prompt

GitHub

Build me a simple Bitcoin solo miner for an M5Stack device, basically like a tiny standalone miner that connects to a ckpool style solo pool over WiFi and shows what it is doing on the screen. I want a config file where I can set my WiFi name and password, my payout address, the pool URL and port, the max nonce range, and how many worker threads to run.

Please make it use all available cores sensibly, with each thread working on a different block template. After about 1,000,000 tries, refresh the template so it does not keep hashing stale work. Show useful live info on screen, like connection status, current work, hash attempts, and any shares or errors. Keep it realistic and simple, this is more for fun and learning than expecting to actually find a block.

It should be ready to build and flash to the board, and if anything about the device libraries is unclear, look up the current docs online.

Have a live product UI? Try website reverse