Rust library for unified ASIC miner management. One API to discover, monitor, and control Antminer, Whatsminer, Avalon, Bitaxe, Braiins, LuxMiner, ePIC, and more. Available on crates.io
asic-rs is an open-source Rust library that abstracts away the fragmented mess of proprietary APIs, firmware differences, and vendor-specific protocols across Bitcoin mining hardware — giving developers a single unified interface to discover, monitor, and control any supported miner on a network.
The library currently supports backends for Antminer, Whatsminer, Avalon, Bitaxe, NerdAxe, Braiins OS, LuxMiner, ePIC, and Marathon DHEX firmware. Point it at an IP address or subnet, and MinerFactory auto-identifies the miner type and returns a consistent interface for pulling hashrate, temperature, and status data, or sending control commands like restarts — regardless of what’s running underneath.
asic-rs started as an independent open-source project and is now stewarded under the 256 Foundation umbrella. It is not one of the Foundation’s core grant-funded pillars, but it is a natural fit: Mujina firmware uses it internally, and it serves the broader goal of making the whole mining stack — not just 256 Foundation hardware — programmable and open.
This category is the place for community discussion around asic-rs. Use it for:
- Getting started — integrating asic-rs into a Rust project, adding it as a dependency, basic usage patterns
- Miner discovery & scanning — subnet scanning, concurrent limits, network configuration for large fleets
- Hardware support questions — which firmware versions are supported, quirks per backend, authentication setup
- Contributing new backends — discussion around adding support for new miners or firmware types
- Bug reports & troubleshooting — unexpected behavior, parsing issues, connection failures (formal bug reports go to GitHub)
- Integration with the 256 Foundation stack — using asic-rs alongside Mujina, Libre Board, or Hydra Pool
What belongs on GitHub instead: Bug reports with reproducible examples, pull requests, and API design discussions belong in the asic-rs GitHub repo. Full API documentation lives at docs.rs/asic-rs.
Stewarded by the 256 Foundation