Commit Graph

51 Commits

Author SHA1 Message Date
Kevin Gorham eeafbd8c2f
New: Prefer the ZOMG lightwalltd instances. 2021-03-30 20:46:43 -04:00
Kevin Gorham 71ac92e77a
Update dependencies. 2021-02-18 16:07:57 -05:00
Adí 794a9f99b8
Add ktlint (#207)
* Add ktlint

Fix formatting per ktlint rules.
Upgrade dependencies & gradle.

* Move ktlint to apply section

* Keep unused-import check

Remove afterEvaluate check.

* Remove respository setup for ktlint.gradle

Fix format for SaplingParamTool & CompatBlockProcessor
2021-03-10 13:10:03 -05:00
Eljo f97c7a41b9 put get balance doc after get address 2020-12-20 18:59:43 +01:00
Eljo 19f038d7e6 minor change 2020-12-20 18:37:15 +01:00
Eljo 68c75fe116 add get balance module in documentation 2020-12-19 21:47:49 +01:00
Eljo 3725624eaa add indicator 2020-12-19 21:38:25 +01:00
Eljo dc972f2528 refactor code 2020-12-14 17:10:50 +01:00
Eljo 9b56aecce7 minor change 2020-12-13 15:14:05 +01:00
Eljo 8c4aa4611c show balance 2020-12-13 15:08:42 +01:00
Eljo 7d634c6b6d save work progress 2020-12-11 22:20:56 +01:00
Kevin Gorham d4d28ccf92
Update build version and changelog. 2020-11-24 00:58:14 -05:00
Kevin Gorham fc58824011
Minor demo app cleanup. 2020-11-24 00:54:13 -05:00
Kevin Gorham 8f8d3db9d9
Sanity test the new initializer behavior and fix existing uses. 2020-11-24 00:53:09 -05:00
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