Please note that these applications are deprecated. Support has been suspended. Issues and pull-requests are no longer reviewed by our team. Commercial proposals for the development of such applications can be sent to [email protected]
Zcash SPV library by Guarda
Example android app. Only t-addresses now available. Just import project in your IDE and build.
Add this folder in your project:
zcash-SPV/tree/master/app/src/main/java/com/gravilink/zcash
and delete:
zcash-SPV/blob/master/app/src/main/java/com/gravilink/zcash/TestActivity.java
ZCashWalletManager.java has folowing public methods:
generateNewPrivateKey_taddr
publicKeyFromPrivateKey_taddr
getBalance_taddr
createTransaction_taddr
pushTransaction_taddr
getTransactionHistory_taddr
importWallet_taddr
getTransactionCache
Before using generateNewPrivateKey_taddr
BrainKeyDict
must be initialized with BrainKeyDict.init()
.
Method createTransaction_taddr()
has a field expiryHeight
. From 0 to 499999999 (inclusive).
By default is 0 (no limit). Or use constant EXPIRY_HEIGHT_NO_LIMIT
.
New v4 transparent transactions are supported.
Now the library supports only v4 transactions (https://github.com/zcash/zips/blob/master/zip-0243.rst#specification)
Library are licensed under the MIT License.
Enjoy! Guarda Team hopes you will like using our lib as much as we liked creating them.