Commit Graph

47 Commits

Author SHA1 Message Date
Kevin Gorham 4bc31b9d92
Updated versions in the demo app. 2020-10-16 14:03:54 -04:00
Kevin Gorham 5879bb3442
Publishing is functional again on Bintray.
Minor uncommitted tweaks. Published version Alpha08.
2020-10-01 16:22:29 -04:00
Kevin Gorham fca75169c4
Update and improve build files. 2020-09-25 09:56:45 -04:00
Kevin Gorham 58925b04b3
Merge initializers.
The new API for initializing with a viewing key will support all existing uses of the other initializer. So they can be safely merged and the changes to support the new one are fairly straight forward.

Also, iterated on the design of the Initializer to simplify construction and make the API easier to use.
2020-09-23 12:02:11 -04:00
Kevin Gorham 6c39534bf4
Minor bugfix. 2020-09-11 11:06:14 -04:00
Kevin Gorham 67630ca2de
Updated demo app README. 2020-09-11 05:47:31 -04:00
Kevin Gorham 16a9ee0fc0
Fix: Broken publishing configuration.
Artifact IDs and names are now consistent and contain the word 'Zcash'
2020-09-11 05:16:45 -04:00
Kevin Gorham 59cdff2715
Testnet improvements.
Also, change the app name so it is easier to tell testnet and mainnet builds apart on the device.
2020-09-11 04:47:05 -04:00
Kevin Gorham 14888d2280
Demo app bug fixes and testnet correction. 2020-09-11 04:04:52 -04:00
Kevin Gorham 3e6355b0c7
Revamped demo app.
- Add logging
- Add service to mainactivity
- Use new SDK derivation tool
- Add prev/next buttons to block demo
- Add helpful stats to block range demo
- Add instructions to home screen and stop clearing after each demo
- Improve transaction list display
- Revamped every demo
- Added HTML to displays
- Added helpful extension functions
- Updated dependencies
2020-09-11 03:16:46 -04:00
Kevin Gorham e143b208a7
New: Iterate on the demo app.
Added seed phrase support. Added UTXO sample, which is still a WIP due to blockers. Changed behavior so the demo uses one seed for all samples.
2020-08-13 22:20:13 -04:00
Kevin Gorham 0f87961947
New: Change the default lightwalletd server.
The old server will be shutting down to coincide with our internal app deployment changes.
2020-08-13 20:31:54 -04:00
Kevin Gorham 215788dd27
Migrate changes from hackathon.
Mostly includes changes to make testing more robust.
2020-07-29 00:36:56 -04:00
Kevin Gorham 5b98cbd6c3
Update demo app's dependencies. 2020-06-18 10:39:43 -04:00
Kevin Gorham 712dac2481
Published to bintray and updated demo apps, accordingly. 2020-06-10 05:59:40 -04:00
Kevin Gorham aa569c99dd
Major refactor: corrected package name.
Now the SDK matches everything else that we have published to bintray and jcenter.
2020-06-10 03:08:19 -04:00
Kevin Gorham 4e95c46acb
Add missing newlines. 2020-06-09 23:28:21 -04:00
Kevin Gorham c5ad25a5ce
New: Added darksidewalletd testing support.
Also modified tests so that they can compile again.
2020-06-09 22:15:55 -04:00
Kevin Gorham 40c2be9ce1
Added ci build tasks and updated dependencies.
Added tasks to adhere to CI contract with DefInfra team per this doc https://github.com/zcash/zcash-android-wallet-sdk/blob/master/docs/ci.md
For now, most of these are just placeholders but we will get them to work in order to simplify CI.
2020-06-09 22:15:53 -04:00
Kevin Gorham ae2af49913
Merge pull request #121 from rex4539/fix-typos
Fix typos and cleanup
2020-04-16 11:33:30 -04:00
Dimitris Apostolou 44cba56d30
Fix typos and cleanup 2020-03-26 13:00:04 +02:00
Kevin Gorham 8808d9c58d
Update demo app to support inbound memos. 2020-03-25 17:58:52 -04:00
Kevin Gorham 9692ee44a3
Add contents to the demo app readme. 2020-02-27 13:51:01 -05:00
Kevin Gorham b0111429f6
Convert the exploring section into a simplified table. 2020-02-27 13:51:01 -05:00
Kevin Gorham de0d85c20d
First pass at adding documentation. 2020-02-27 13:51:00 -05:00
Kevin Gorham 36214a4cf5
Demo app readme. 2020-02-27 13:50:59 -05:00
Kevin Gorham 08fe8d6069
Demo app: get testnet builds working again. 2020-02-26 14:54:14 -05:00
Kevin Gorham 508e6d3da9
Demo app improvements.
including: mainnet support, BIP39 support and using seed words instead of string-based seeds, several convenience functions like copyToClipboard, simplified the developer experience for using the FAB, corrected errors in port numbers, streamlined several demos, trim user input, better messaging using new processorInfo flow.
2020-02-26 03:10:28 -05:00
Kevin Gorham 925a5cb4d6
Update to latest SDK and fix errors. 2020-02-24 14:51:45 -05:00
Kevin Gorham 8a365115f1
Add mainnet support.
This involves splitting code to run in the zcashMainnet and zcashTestnet flavors and using the corresponding feature of librustzcash. Mainnet functionality is proven in the integration test in androidTestZcashmainnet.
2020-01-15 07:35:01 -05:00
Kevin Gorham 5380c0d365
General cleanup before merging first pass at demo app. 2019-11-23 20:47:50 -05:00
Kevin Gorham 652e862d5c
Iterate on the Send demo.
Allow input. Allow multiple sends. Handle errors. Demonstrate an improved user experience where sending is disabled at the appropriate times.
2019-11-23 18:07:28 -05:00
Kevin Gorham 93d4114848
Refactor logic for awaiting confirmations.
Leverage the new flow-centric approach to sending transactions, rather than polling the database, which leads to concurrent modification errors and corrupted data.
2019-11-23 02:18:20 -05:00
Kevin Gorham 9cb178d6fb
Refactoring 2019-11-17 23:39:37 -05:00
Kevin Gorham bf48b82aa8
Refactor package names 2019-10-24 01:21:52 -04:00
Kevin Gorham f89d2be250
SDK changes to support new demo app.
- Convert status flags into stream of statuses, instead.
- Improve logging during transaction submission
- Database corrections. Aparently Room has gotten more strict with schema parsing and this required lots of corrections mainly around get nullability correct for DB fields.
- Simplify Synchronizer creation via constructor functions. Created one function for maximum simplicity and another for maximum flexibility.
- Changed logic for Wallet initialization to simplify dependencies and allow for optional access to private keys for wallet apps
- Created TransactionRepository that leverages the paging library for Room
- Provided sample implementation of bridging to a key manager in a way where wallet apps do not have to modify their existing code.
- Made it easier to clear the wallet data that can be repopulated from the blockchain
- Allowed for better cleanup of heavy-weight lightwalletd services by adding a shutdown API call
2019-10-24 01:16:58 -04:00
Kevin Gorham 190f7f5548
Consolidate old sample apps into new demo app. 2019-10-24 01:16:58 -04:00
Kevin Gorham 42f29f534c
Reduce configurability per Security Finding 1.
These changes largely reduce the amount of configuration that can be tweaked in order to prevent fragmentation of the anonymity set of users. If wallet makers change certain properties than it can become easy to detect which network requests are coming from which client. The goal is for clients to be as anonymous as possible.
2019-09-26 12:58:37 -04:00
Kevin Gorham 1f18042d52
Implement versioning and other cleanup.
- Correct typo and compiler warning in Rust.
'trait objects without an explicity dyn' are deprecated and this is a warning as of Rust 1.37
- update dependencies
- update documentation

docs
2019-09-12 01:31:23 -04:00
Kevin Gorham 636cbb59c0
Add TLS support.
Make TLS the default and require effort to setup plaintext connections, instead.
2019-09-12 01:31:22 -04:00
Kevin Gorham 50ef3ee99f Improve and further simplify sample app behavior. 2019-08-30 10:07:56 -04:00
Kevin Gorham 862a4be480 Pulled over classes from Zcon1 app.
Next step is to refactor and simplify.
2019-08-30 10:07:56 -04:00
Kevin Gorham ad3a080466 Restore the memo sample to working order. 2019-08-30 10:07:56 -04:00
Kevin Gorham 7daeb20755 Sample App: Add sample app for deriving addresses and spending keys. 2019-08-30 09:59:29 -04:00
Kevin Gorham 56e4dda40f Update dependencies. 2019-08-30 09:59:29 -04:00
Kevin Gorham c3f57d5e2f
Rename JniConverter to RustBackend
Turns out JNI classes are hard to mock due to the way sytem libraries
are loaded. So it became easier to put the JniConverter class behind an
interface. Once that refactor was necessary, it was a good time to
update the name of this class because it retained its original PoC name
for far too long.
2019-05-24 16:33:43 +01:00
Kevin Gorham e12b1c7a63 Initial memo sample app. 2019-04-24 03:16:15 -04:00