-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
Hi Namada team,
I'm participating in the testing and bounty program and trying to use two wallets, as advised - one via the Namada Wallet app and the second via Namadillo, using Keychain. However, on mobile (Android), Keychain and Namadillo are currently not compatible or functional, so I'm trying to compile and use the Namada CLI in Termux as a workaround.
Here are the steps I took and the results:
What I managed to do:
Installed Rust 1.88.0 and cargo in Termux (pkg install rust).
Cloned the namada repo.
Checked out tag v0.29.3 (for compatibility with the Namada Wallet).
Installed dependencies (pkg install binutils, manually linked llvm-ar to aarch64-linux-android-ar).
Ensured PATH was correctly set.
Where it fails:
Compilation crashes at various points:
- blake3 build error:
error occurred: Failed to find tool. Is aarch64-linux-android-ar
installed?
Fixed by linking llvm-ar, but...
- crunchy crate causes segmentation fault:
error: failed to run custom build command for crunchy v0.2.2
Caused by: process didn't exit successfully... (signal: 11, SIGSEGV: invalid memory reference)
Tried cleaning build, setting appropriate env vars, adjusting build flags - but still fails.
There seems to be a compatibility issue with certain crates and the Android NDK/stubbed toolchain used in Termux.
💡 Suggestion / Ask:
Could you please:
Confirm whether you plan to officially support building/running the Namada CLI on Android (Termux)?
Provide a minimal configuration or patch to allow building for aarch64-linux-android?
Alternatively, could you add a mobile-friendly way to run two wallets without needing Keychain/Namadillo (e.g., allow multiple accounts in Namada Wallet app)?
Thanks for your work - I’d love to continue testing, but right now it’s difficult on mobile.