180 views
<div style="text-align: center"> <img src="https://hedgedoc.vergara.tech/uploads/c5321a48-ec18-451b-af45-ab812564e2b1.png" /> </div> # Milestone 6 Report ## Executive Summary We have released [ZGo version 2.4.0](https://git.vergara.tech/Vergara_Tech/zgo/releases/tag/2.4.0) and the corresponding changes in [API version 1.8.0](https://git.vergara.tech/Vergara_Tech/zgo-backend/releases/tag/1.8.0) to enable the use of Unified Addresses for shops and for payments. The biggest challenge of implementing support of Unified Addresses is the lack of functionality in `zcashd` to use a Unified Viewing Key. To overcome this challenge, we began work on our [Zcash-Haskell](https://git.vergara.tech/Vergara_Tech/zcash-haskell) library earlier this year and have been able to make great progress in bringing core Zcash functionality into the Haskell ecosystem, allowing our app to develop independently from the `zcashd` roadmap. We are very excited about the possibilities this opens for our projects. This milestone also includes updates to our app for retailers, allowing shops to set up to two different taxes to be added to each order: ![](https://zgo.cash/images/taxsettings.png "Tax settings" =400x) The UI has been updated to display this information in orders, invoices and receipts: ![](https://zgo.cash/images/taxorder.png "Order with taxes" =400x) We have also added the functionality for vendors to request the customer for a tip to be added to the order: ![](https://zgo.cash/images/tipwindow.png) This milestone also includes updates to the WooCommerce plugin to address changes in the WooCommerce platform released on their version 8. Finally, the lower criticality items found in our Security Audit have been addressed in this release. As this milestone closes our [Zcash Community Grant](https://zcashgrants.org/gallery/25215916-53ea-4041-a3b2-6d00c487917d/25974825/), we want to thank the Zcash Community Grants committee, the Zcash Foundation and the community in general for the support, feedback, suggestions, and recommendations. Working on this project has been a great experience and we are excited to continue our contributions to the ecosystem. ## Progress Report ```mermaid gantt title ZGo Development 2022-2023 dateFormat YYYY-MM-DD axisFormat %b-%y todayMarker off Payment Confirmation :done, a1, 2022-06-01, 60d Milestone 1:milestone, done, 2022-07-31, 0d Xero Integration :done, a4, after a1, 60d Milestone 2:milestone, done, 2022-09-30, 0d WooCommerce Integration:done, a4a, after a4, 100d Data Export :done, a2, 2022-11-01, 30d Milestone 3:milestone, done, 2023-01-10, 0d Spanish Translation :done, a6, 2023-01-10, 60d Portuguese Translation :done, a7, 2023-01-10, 60d Xero Integration Enhancements :done, a8, 2023-01-10, 60d Milestone 4:milestone, done, 2023-03-17, 0d Security hardening :done, a9, 2023-05-04, 55d Zcash-Haskell : done, 2023-03-18, 220d Milestone 5:milestone, done, 2023-06-26, 0d Unified Addresses : done, 2023-06-27, 120d Tipping :done, a3, 2023-09-01, 30d Tax Line :done, after a3, 25d User Support :done, 2022-08-26, 430d Milestone 6:milestone,done, 2023-10-31, 0d ``` ### User Interface ### Added - Tip component ### Changed - Added settings for tips, tax and VAT rates. - Added fields for tips, tax and VAT to `order.model` - Added a display of taxes to orders - Added a tip display to receipts ### API server ### Added - Parser for Unified Addresses that validates the address - Tests for UA parsing from wallets - Function to scan new transactions using known viewing keys - Function to identify the owners and VKs needed for tx scans ### Changed - Order endpoint updated to ensure orders belong to shop before adding to DB. - MongoDB driver updated to support MongoDB 6. - Full validation of Sapling addresses to parser. ### Removed - `api/orderx` endpoint. - `makeZcashCall` function moved to the generic `zcash-haskell` library. - `RpcResponse`, `RpcCall` types moved to the generic `zcash-haskell` library. ### Zcash-Haskell ### Added - `matchOrchardAddress` function to ensure a UA matches a UVK and corresponding tests - `makeZcashCall` function moved into this library - `RpcResponse`, `RpcCall` types moved into this library - Functions to decode Sapling transactions - Tests for Sapling decoding - Type for block response - Type for raw transaction response - JSON parsers for block response, transaction response, `ShieldedOutput` and `OrchardAction` - Tests for JSON parsers - Haddock annotations ### Changed - Rearranged modules for cleaner dependencies. - Upgrade to Haskell LTS 21.6