🪨 XMRig WASM Miner Test Harness

Emscripten/WebAssembly Build Validation

Build Instructions

1. Install Emscripten (if not already installed): # Clone emsdk repository git clone https://github.com/emscripten-core/emsdk.git cd emsdk ./emsdk install latest ./emsdk activate latest source ./emsdk_env.sh 2. Build XMRig WASM: cd /path/to/xmrig_wasm source /path/to/emsdk/emsdk_env.sh mkdir build_wasm && cd build_wasm emcmake cmake -DXMRIG_FEATURE_RANDOMX=ON -DXMRIG_FEATURE_CN=ON .. emmake make -j$(nproc) 3. Output files will be in build_wasm/ directory: xmrig.js - Emscripten JavaScript wrapper xmrig.wasm - WebAssembly binary xmrig.wasm.map - Source map (optional) 4. Serve with a local HTTP server: cd build_wasm python3 -m http.server 8000 # or: npx http-server # Then open http://localhost:8000/wasm_test.html in your browser

Module Status

⏳ Waiting for WASM module...

Test Configuration

Controls

Performance Metrics

Hashes Completed
0
Hash Rate (H/s)
0.00
Elapsed Time
0.0s
Status
Idle

Log Output