zodl-inc/zodl-android-wallet-sdk(opens in a new tab)
Language: Kotlin
Native Android SDK for Zcash
- stars
- 1
- watchers
- 0
- forks
- 2
- open issues
- 5
- Last updated
- 10/30/2026
Language: Kotlin
Native Android SDK for Zcash
This is a beta build and is currently under active development. Please be advised of the following:
🔒 Security Warnings
This lightweight SDK connects Android to Zcash, allowing third-party Android apps to send and receive shielded transactions easily, securely and privately.
Different sections of this repository documentation are oriented to different roles, specifically Consumers (you want to use the SDK) and Maintainers (you want to modify the SDK).
Note: This SDK is designed to work with lightwalletd. As either a consumer of the SDK or developer, you'll need a lightwalletd instance to connect to. These servers are maintained by the Zcash community.
Note: Because we have not deployed a non-beta release of the SDK yet, version numbers currently follow a variation of semantic versioning. Generally a non-breaking change will increment the beta number while a breaking change will increment the minor number. 1.0.0-beta01 -> 1.0.0-beta02 is non-breaking, while 1.0.0-beta01 -> 1.1.0-beta01 is breaking. This is subject to change.
"mainnet" (main network) and "testnet" (test network) are terms used in the blockchain ecosystem to describe different blockchain networks. Mainnet is responsible for executing actual transactions within the network and storing them on the blockchain. In contrast, the testnet provides an alternative environment that mimics the mainnet's functionality to allow developers to build and test projects without needing to facilitate live transactions or the use of cryptocurrencies, for example.
The Zcash testnet is an alternative blockchain that attempts to mimic the mainnet (main Zcash network) for testing purposes. Testnet coins are distinct from actual ZEC and do not have value. Developers and users can experiment with the testnet without having to use valuable currency. The testnet is also used to test network upgrades and their activation before committing to the upgrade on the main Zcash network. For more information on how to add testnet funds visit Testnet Guide or go right to the Testnet Faucet.
This SDK supports both mainnet and testnet. Further details on switching networks are covered in the remaining documentation.
If you're a developer consuming this SDK in your own app, see Consumers.md for a discussion of setting up your app to consume the SDK and leverage the public APIs.
A primitive example to exercise the SDK exists in this repo, under Demo App.
Secant Sample Wallet is a more comprehensive sample application.
If you're building the SDK from source or modifying the SDK:
Note that we aim for the main branch of this repository to be stable and releasable. We continuously deploy snapshot builds from release/** branches, then manually deploy release builds. Our continuous deployment of snapshots implies two things:
~/.gradle/gradle.properties: ZCASH_IS_DEPENDENCY_LOCKING_ENABLED=falseCompactBlockProcessor now processes compact blocks from the lightwalletd server in non-linear order with the
Spend-before-Sync algorithm. This feature speeds up discovering the wallet's spendable balance. Please note that
this new block synchronization algorithm is still under development.
Copyright © 2026 Znewco, Inc. (d/b/a Zcash Open Development Lab)
ZODL Zcash Android Wallet SDK is free software, licensed under the GNU Affero General Public License, version 3 only (AGPL-3.0-only). See LICENSE.
In short: you may use, study, modify, and redistribute ZODL Zcash Android Wallet SDK, but if you incorporate it into an application, the complete source of that application must be made available under the AGPL to its users, including users who interact with it over a network.
If those terms don't fit your project, commercial licenses are available — see COMMERCIAL-LICENSE.md. Official Zodl builds distributed through Google Play are released by Znewco under separate terms; no Google Play distribution permission is granted to AGPL licensees — see LICENSE-EXCEPTIONS.md.
ZODL Zcash Android Wallet SDK is derived from the Zcash Android Wallet SDK, Copyright (c) 2017-2024 Electric Coin Company, which was made available under the MIT License; that license is reproduced in LICENSE-MIT. It also depends on the Zcash Rust crates (librustzcash and related) and other third-party libraries, which are separately licensed by their respective copyright holders and are not covered by this notice.