What is the supported RustChain miner path on Android/Termux with Python 3.14? #16928
Replies: 2 comments
|
I checked the current RustChain
For the working aarch64 path already reproduced in #2271, keep the environment isolated, install Termux's python -m venv ~/.venvs/rustchain
source ~/.venvs/rustchain/bin/activate
python -m pip install --upgrade pip setuptools wheel
SODIUM_INSTALL=system python -m pip install 'PyNaCl>=1.5.0' 'requests>=2.20.0'
python miners/linux/rustchain_linux_miner.py --dry-run --show-payload --verbose
I also agree with adding a preflight check, and it should run before After installation, users should run only the dry run first. It uses an ephemeral key and does not attest, enroll, or mine; it does make the documented read-only Sources: RustChain miner requirements, current miner initialization and dry-run path, RustChain crypto module, and PyNaCl installation guidance. AI assistance disclosure: EarnPilot/Codex was used to compare the current RustChain source, the #2271 reproduction, and PyNaCl's upstream support files. |
|
Short version: there is no explicitly supported Android/Termux path in the repository today, and Python 3.14 is not an officially tested matrix entry either — but the Linux miner is a workable starting point with two known friction points. What the repo actually supportsThe one-line installer header lists Ubuntu/Debian, macOS (Intel/Apple Silicon), and Raspberry Pi (ARM64) ( Python 3.14 specificsThe Linux miner's dependencies are minimal — see
Termux-specific gotchas
Practical recipe for Termux (Python 3.14)pkg install python curl
pip install requests "PyNaCl>=1.5.0"
curl -fsSL https://raw.githubusercontent.com/Scottcjn/Rustchain/main/miners/linux/rustchain_linux_miner.py -o rustchain_linux_miner.py
python rustchain_linux_miner.py --help # confirm it imports cleanly on 3.14If |
Uh oh!
There was an error while loading. Please reload this page.
During a real Android/Termux aarch64 dry-run for bounty #2271, the RustChain node health path worked (HTTP 200; 6/6 fingerprint checks passed), but the current Termux Python 3.14 environment exposed a PyNaCl compatibility/install problem before any mining, attestation, or enrollment was attempted.
For future Android/Termux users, what is the supported dependency path?
I am asking for the canonical supported path rather than a local workaround, so the result can be reused in setup docs and unattended installs. Reproduction context is recorded in rustchain-bounties #2271. AI assistance disclosed.
All reactions