Go to file
Honza Rychnovský 3b1d42528d
[#972] Adopt PersistableWallet API changes in SDK
* [#944] Adopt SDK version with SbS included

- This supposes to fail in the build until the proper SDK version is consumed
- Tested via included builds

* Switch to latest v2.0.0-rc.2

* Adopt latest SDK snapshot version

* [#972] Adopt PersistableWallet API changes in SDK

Closes  #972.

* Adopt SDK supporting PersistableWallet.endpoint
2023-09-28 12:05:36 +02:00
.github Bump gradle/gradle-build-action from 2.8.0 to 2.8.1 (#971) 2023-09-26 08:48:44 +02:00
.idea [#873] Detekt enhance 2023-06-19 08:59:00 +02:00
app [#955] Gradle 8.3 2023-08-31 10:10:52 +02:00
build-conventions-secant [#969] Kover 0.7.3 2023-09-22 14:30:29 +02:00
build-info-lib [#962][#907][#963] Dependency bump 2023-09-11 12:36:02 +02:00
buildSrc [#955] Gradle 8.3 2023-08-31 10:10:52 +02:00
configuration-api-lib [#969] Kover 0.7.3 2023-09-22 14:30:29 +02:00
configuration-impl-android-lib [#873] Detekt enhance 2023-06-19 08:59:00 +02:00
crash-android-lib
crash-lib [#969] Kover 0.7.3 2023-09-22 14:30:29 +02:00
docs [#951] Add Archivo font 2023-08-30 10:36:31 +02:00
gradle/wrapper [#955] Gradle 8.3 2023-08-31 10:10:52 +02:00
preference-api-lib [#969] Kover 0.7.3 2023-09-22 14:30:29 +02:00
preference-impl-android-lib [#873] Detekt enhance 2023-06-19 08:59:00 +02:00
sdk-ext-lib [#972] Adopt PersistableWallet API changes in SDK 2023-09-28 12:05:36 +02:00
spackle-android-lib [#905] Add copy-to-clipboard for addresses 2023-07-17 12:33:14 +02:00
spackle-lib [#969] Kover 0.7.3 2023-09-22 14:30:29 +02:00
test-lib [#764] Multiplatform remote config API 2023-02-21 12:50:31 -05:00
tools [#888] Remove Default Detekt Values 2023-06-20 11:27:05 +02:00
ui-benchmark-test
ui-design-lib Added Checkbox changed Primary button and TextField (#957) 2023-09-04 11:05:26 +02:00
ui-integration-test [#584 ]Adopt Twitter's Compose Detekt rules 2023-03-01 07:58:47 -05:00
ui-lib [#972] Adopt PersistableWallet API changes in SDK 2023-09-28 12:05:36 +02:00
ui-screenshot-test [#664] Transaction History List 2023-07-04 13:24:07 +02:00
.gitignore [#855] Kotlin 1.8.21 2023-05-09 05:57:59 -04:00
LICENSE [#951] Add Archivo font 2023-08-30 10:36:31 +02:00
README.md Remove link to ECC Wallet in readme 2023-05-19 06:11:47 -04:00
build.gradle.kts [#929] Fill in support contact email 2023-08-04 15:34:58 +02:00
buildscript-gradle.lockfile [#969] Kover 0.7.3 2023-09-22 14:30:29 +02:00
gradle.properties [#972] Adopt PersistableWallet API changes in SDK 2023-09-28 12:05:36 +02:00
gradlew [#955] Gradle 8.3 2023-08-31 10:10:52 +02:00
gradlew.bat
settings.gradle.kts [#853] Adopt latest SDK changes 2023-05-12 07:14:31 -04:00

README.md

Secant Android Wallet

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 under gradle.properties
    1. See ZCASH_RELEASE_APP_NAME
  2. Change the package name under app/build.gradle.kts
    1. See ZCASH_RELEASE_PACKAGE_NAME
  3. Change the support email address under gradle.properties
    1. See ZCASH_SUPPORT_EMAIL_ADDRESS
  4. 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
  5. Optional
    1. Configure secrets and variables for Continuous Integration
    2. Configure Firebase API keys and place them under app/src/debug/google-services.json and app/src/release/google-services.json

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.