9 releases

0.3.2 Jan 25, 2026
0.3.1 Jan 24, 2026
0.2.5 Dec 28, 2025
0.1.0 Dec 25, 2025

#102 in #mining


Used in 2 crates

MIT license

155KB
3.5K SLoC

Rust 3.5K SLoC // 0.0% comments WebGPU Shader Language 424 SLoC // 0.0% comments

WebGPU mining runner.

The implementation wires a compute shader that performs the full double-SHA256 over tx_prefix || nonce || tx_suffix. The shader mirrors the CPU implementation in zeldhash-miner-core and returns txids in the same byte order (big-endian hash bytes, which callers treat as txid by reversing when counting leading zeros). Storage buffer layouts match the TODO design so the JavaScript bindings and future optimizations can reuse them unchanged.


zeldhash-miner-gpu

WebGPU mining backend for the Zeldhash miner.

Learn more at https://zeldhash.com.

Dependencies

~15–47MB
~700K SLoC