This project is no longer maintained, Nighthawk v2 repository is at https://github.com/nighthawk-apps/nighthawk-android-wallet
To run, clone the repo, open it in Android Studio and press play. It should just work.
- The code
- Android Studio or adb
- A device or emulator
- Java 11 runtime for project to compile
- Download Android Studio and setup an emulator
Import
the zcash-android-wallet folder.
It will be recognized as an Android project.- Change Build Variant on Bottom Left of Android Studio IDE to zcashmainnetDebug or zcashtestnetDebug to select mainnet/testnet targets.
- Change Gradle JDK Version under Android Studio Preference JDK 11.
- Press play to install (once it is done opening and indexing)
To build from the command line, setup ADB and connect your device. Then simply run this and it will both build and install the app:
cd /path/to/zcash-android-wallet
./gradlew
To build Nighthawk to run on Testnet:
cd /path/to/zcash-android-wallet
./gradlew :app:assembleZcashTestnetDebug
Do not disclose any bug or vulnerability on public forums, message boards, mailing lists, etc. prior to responsibly disclosing to Nighthawk Wallet and giving sufficient time for the issue to be fixed and deployed. Do not execute on or exploit any vulnerability.
When reporting a bug or vulnerability, please provide the following to nighthawkwallet@protonmail.com
A short summary of the potential impact of the issue (if known). Details explaining how to reproduce the issue or how an exploit may be formed. Your name (optional). If provided, we will provide credit for disclosure. Otherwise, you will be treated anonymously and your privacy will be respected. Your email or other means of contacting you. A PGP key/fingerprint for us to provide encrypted responses to your disclosure. If this is not provided, we cannot guarantee that you will receive a response prior to a fix being made and deployed.
We highly encourage all disclosures to be encrypted to prevent interception and exploitation by third-parties prior to a fix being developed and deployed. Please encrypt using the PGP public key with fingerprint: 8c07e1261c5d9330287f4ec35aff0fd018b01972
There are some known areas for improvement:
- This app depends upon related libraries that it uses. There may be bugs.
- This wallet currently only supports transacting between shielded addresses, which makes it incompatible with wallets that do not support sending to shielded addresses.
- Traffic analysis, like in other cryptocurrency wallets, can leak some privacy of the user.
- The wallet requires a trust in the lighthttps server to display accurate transaction information.
- This app has been developed and run exclusively on
mainnet
it might not work ontestnet
.
See the Wallet App Threat Model for more information about the security and privacy limitations of the wallet.
zs1nhawkewaslscuey9qhnv9e4wpx77sp73kfu0l8wh9vhna7puazvfnutyq5ymg830hn5u2dmr0sf
Apache License 2.0