forked from WikiDeck/wikideck
- scripts/build-randomx-android.sh: NDK cross-build of the pinned native/ engine (light mode) for arm64-v8a and x86_64, packaged as jniLibs/<abi>/libwikideck_randomx.so - MinerPlugin.java (Capacitor "WikiDeckMiner"): runs engine processes over the line protocol, on-device self-test, and halts on background, battery saver, thermal, hot or low battery. Never receives wallet keys. - src/mobile-miner.ts: template -> mine -> sign -> submit loop in the WebView, byte-identical to consensus miningBlob/mintId (tests/mobile-mining-miner.test.ts) - src/MobileMiningPanel.tsx: consent, intensity (1 thread default; Max = 4 only while charging), live hashrate/status; testnet-only (disabled on mainnet builds) - docs/night2/MOBILE_MINING.md: how it works, safeguards, measured hashrate, store policies (sideload APK only), options for Eric No protocol, consensus or server changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>