Go to file
dependabot[bot] 5175ec76e8
Bump actions/checkout from 4.0.0 to 4.1.0 (#385)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](3df4ab11eb...8ade135a41)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-25 13:13:36 +02:00
.github Bump actions/checkout from 4.0.0 to 4.1.0 (#385) 2023-09-25 13:13:36 +02:00
.run
app [#374] AGP 8.0.2 2023-06-09 15:20:02 +02:00
build-convention [#374] AGP 8.0.2 2023-06-09 15:20:02 +02:00
buildSrc [#374] AGP 8.0.2 2023-06-09 15:20:02 +02:00
feedback [#374] AGP 8.0.2 2023-06-09 15:20:02 +02:00
gradle/wrapper [#374] AGP 8.0.2 2023-06-09 15:20:02 +02:00
lockbox [#374] AGP 8.0.2 2023-06-09 15:20:02 +02:00
mnemonic [#302][#316] Adopt latest Android SDK 1.12.0-beta01 2023-01-24 14:50:58 -05:00
qrecycler [#374] AGP 8.0.2 2023-06-09 15:20:02 +02:00
.editorconfig
.gitignore
CHANGELOG.md
CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md [#304] Configure included builds for SDK 2022-05-23 07:44:41 -04:00
build.gradle.kts [#374] AGP 8.0.2 2023-06-09 15:20:02 +02:00
gradle.properties [#374] AGP 8.0.2 2023-06-09 15:20:02 +02:00
gradlew [#374] AGP 8.0.2 2023-06-09 15:20:02 +02:00
gradlew.bat [#350] Gradle 7.6 2022-12-15 16:16:20 +01:00
placeholder.keystore
responsible_disclosure.md
settings.gradle.kts [#325] Migrate to SDK with BlockHeight AP 2022-07-27 13:56:08 -04:00

README.md

zcash-android-wallet

A sample Android wallet using the Zcash Android SDK.

Motivation

Dogfooding - transitive verb - is the practice of an organization using its own product. This app was created to help us learn.

Please take note: the wallet is not an official product by ECC, but rather a tool for learning about our libraries that it is built on. This means that we do not have robust infrasturcture or user support for this application. We open sourced it as a resource to make wallet development easier for the Zcash ecosystem.

Disclaimers

There are some known areas for improvement:

  • This app is mainly intended for learning and improving the related libraries that it uses. There may be bugs.
  • Traffic analysis, like in other cryptocurrency wallets, can leak some privacy of the user.
  • The wallet requires a trust in the server to display accurate transaction information.

See the Wallet App Threat Model for more information about the security and privacy limitations of the wallet.

If you'd like to sign up to help us test, reach out on discord and let us know! We're always happy to get feedback!

Description

This a sample wallet for the following set of features:

  • z2z transactions w/ encrypted memos
  • reply-to formatted memos
  • z2t transactions
  • transparent receive-only
  • autoshielding on threshold from receive only t-address

note: z means sapling shielded addresses.

Prerequisites

Building the App

To run, clone the repo, open it in Android Studio and press play. It should just work.™

Install from Android Studio

  1. Install Android Studio and setup an emulator 1a. If using a device, be sure to put it in developer mode to enable side-loading apps
  2. Import the zcash-android-wallet folder.
    It will be recognized as an Android project.
  3. Press play (once it is done opening and indexing)

OR Install from the command line

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

Note: The lack of an explicit Gradle task is not a typo. A default task is configured via build.gradle.kts.

Tip: On macOS and Linux, Gradle is invoked with ./gradlew. On Windows, Gradle is invoked with gradlew.

Included builds

To simplify implementation of SDK features in conjunction with changes to the app, a Gradle Included Build can be configured.

  1. Check out the SDK to a directory path of ../zcash-android-sdk relative to the root of this app's repo. For example:

     parent/
         zcash-android-wallet/
         zcash-android-sdk/
    
  2. Verify that the zcash-android-sdk builds correctly on its own

  3. Build zcash-android-wallet, setting the Gradle property IS_SDK_INCLUDED_BUILD=true

There are some limitations of included builds:

  1. Properties from zcash-android-wallet will override those set in zcash-android-sdk with the same name
  2. Modules in each project cannot share the same name. For this reason, build-conventions have different names in each repo (zcash-android-sdk/build-conventions vs secant-android-wallet/build-convention)
  3. Kotlin and KSP versions will need to be coordinated between the two projects, because KSP is tightly coupled to the Kotlin version

Contributing

Contributions are very much welcomed! Please read our Contributing Guidelines and Code of Conduct. Our backlog has many Issues tagged with the good first issue label. Please fork the repo and make a pull request for us to review.

Reporting an issue

If you wish to report a security issue, please follow our Responsible Disclosure guidelines.

For other kind of inquiries, feel welcome to open an Issue if you encounter a bug or would like to request a feature.