Go to file
Carter Jernigan 45d90b7706 [#586] AGP 7.3 2022-09-22 16:06:09 -04:00
.github Bump actions/setup-java from 3.4.1 to 3.5.0 in /.github/actions/setup 2022-09-12 08:36:46 -04:00
.idea [#552] Compose dependencies update (#589) 2022-09-22 15:55:34 +02:00
app [#586] AGP 7.3 2022-09-22 16:06:09 -04:00
build-conventions-secant [#586] AGP 7.3 2022-09-22 16:06:09 -04:00
build-info-lib [#549] Kotlin 1.7.10 2022-07-22 12:58:45 -04:00
buildSrc [#547] Configurable dependency locking 2022-07-22 13:00:04 -04:00
crash-android-lib [#586] AGP 7.3 2022-09-22 16:06:09 -04:00
crash-lib [#549] Kotlin 1.7.10 2022-07-22 12:58:45 -04:00
docs [#586] AGP 7.3 2022-09-22 16:06:09 -04:00
gradle/wrapper [#564] Gradle 7.5.1 2022-08-09 07:13:25 -04:00
preference-api-lib [#549] Kotlin 1.7.10 2022-07-22 12:58:45 -04:00
preference-impl-android-lib [#586] AGP 7.3 2022-09-22 16:06:09 -04:00
sdk-ext-lib [#586] AGP 7.3 2022-09-22 16:06:09 -04:00
sdk-ext-ui-lib [#586] AGP 7.3 2022-09-22 16:06:09 -04:00
spackle-android-lib [#586] AGP 7.3 2022-09-22 16:06:09 -04:00
spackle-lib [#549] Kotlin 1.7.10 2022-07-22 12:58:45 -04:00
test-lib [#586] AGP 7.3 2022-09-22 16:06:09 -04:00
tools [#545] Detekt 1.21.0 2022-07-19 07:10:34 -04:00
ui-design-lib [#586] AGP 7.3 2022-09-22 16:06:09 -04:00
ui-integration-test-lib [#586] AGP 7.3 2022-09-22 16:06:09 -04:00
ui-lib [#586] AGP 7.3 2022-09-22 16:06:09 -04:00
.gitignore [#50] Preliminary design guide 2021-10-31 13:36:51 -04:00
LICENSE Initial commit 2021-07-29 13:54:16 -04:00
README.md Update Android Studio guidance 2022-09-19 12:31:38 -04:00
build.gradle.kts [#578] Use API 33 devices on Firebase Test Lab 2022-09-01 06:38:29 -04:00
buildscript-gradle.lockfile [#586] AGP 7.3 2022-09-22 16:06:09 -04:00
gradle.properties [#586] AGP 7.3 2022-09-22 16:06:09 -04:00
gradlew [#543] Gradle 7.5 2022-07-18 10:44:58 -04:00
gradlew.bat [#543] Gradle 7.5 2022-07-18 10:44:58 -04:00
settings.gradle.kts [#552] Compose dependencies update (#589) 2022-09-22 15:55:34 +02:00

README.md

secant-android-wallet

Note: This is a new and unreleased project. Since it is being developed in the open from the beginning, initially this project will not be fully functional. Some of the documentation below will be aspirational until the implementation is further along. During this initial stage of development, the older Zcash Android Wallet may be a more helpful sample.

This is a sample implementation of a Zcash wallet for Android leveraging the Zcash Android SDK. The goal is to exercise the SDK and related Zcash libraries, as well as demonstrate how the SDK works.

While we aim to continue improving this sample, it is not an official product. We open sourced it as a resource to make wallet development easier for the Zcash ecosystem.

Getting Started

If you'd like to compile this application from source, please see our Setup Documentation to get started.

Reporting an issue

If you wish to report a security issue, please follow our Responsible Disclosure guidelines. See the Wallet App Threat Model for more information about the security and privacy limitations of the wallet.

If you'd like to report a technical issue or feature request for the Android Wallet, please file a GitHub issue.

General Zcash questions and/or support requests and are best directed to either:

Contributing

Contributions are very much welcomed! Please read our Contributing Guidelines to learn about our process.

Forking

If you plan to fork the project to create a new app of your own, please make the following changes. (If you're making a GitHub fork to contribute back to the project, these steps are not necessary.)

  1. Change the app name and package name under gradle.properties
    1. ZCASH_RELEASE_APP_NAME
    2. ZCASH_RELEASE_PACKAGE_NAME
  2. Change the support email address under ui-lib/src/res/ui/support/values/strings.xml
  3. Remove any copyrighted ZCash or Electric Coin Company icons, logos, or assets
    1. ui-lib/src/main/res/common/ - All of the the ic_launcher assets
  4. Change the package name
    1. Under app/build.gradle.kts, change the package name of the application
  5. Optional
    1. Configure secrets for Continuous Integration.

Known Issues

  1. Intel-based machines may have trouble building in Android Studio. The workaround is to add the following line to ~/.gradle/gradle.properties ZCASH_IS_DEPENDENCY_LOCKING_ENABLED=false. See #420 for more information.
  2. During builds, a warning will be printed that says "Unable to detect AGP versions for included builds. All projects in the build should use the same AGP version." This can be safely ignored. The version under build-conventions is the same as the version used elsewhere in the application.
  3. When the code coverage Gradle property IS_ANDROID_INSTRUMENTATION_TEST_COVERAGE_ENABLED is enabled, the debug app APK cannot be run. The coverage flag should therefore only be set when running automated tests.
  4. Test coverage for Compose code will be low, due to known limitations in the interaction between Compose and Jacoco.
  5. Adding the espresso-contrib dependency will cause builds to fail, due to conflicting classes. This is a known issue with the Zcash Android SDK.
  6. Android Studio will warn about the Gradle checksum. This is a known issue and can be safely ignored.
  7. #96 - Release builds print some R8 warnings which can be safely ignored.
  8. During app first launch, the following exception starting with AndroidKeysetManager: keyset not found, will generate a new one is printed twice. This exception is not an error, and the code is not being invoked twice.