# Implement Orchard

**URL:** <https://forum.zcashcommunity.com/t/implement-orchard/42706>\
**Category:** Applications\
**Created:** [August 4, 2022, 9:11pm UTC](https://forum.zcashcommunity.com/t/implement-orchard/42706 "2022-08-04T21:11:03Z")\
**Posts on this page:** 16\
**Page:** 2

<div class="post-metadata">

**Author:** ![zancas](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/zancas/32/42011_2.png) [@zancas](https://forum.zcashcommunity.com/u/zancas)\
**Post date:** [September 9, 2022, 4:20pm UTC](https://forum.zcashcommunity.com/t/implement-orchard/42706/21 "2022-09-09T16:20:16Z")

</div>

This is great news!! We’ll keep our noses to the grindstone and produce value!

---

<div class="post-metadata">

**Author:** ![zancas](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/zancas/32/42011_2.png) [@zancas](https://forum.zcashcommunity.com/u/zancas)\
**Post date:** [October 2, 2022, 1:45am UTC](https://forum.zcashcommunity.com/t/implement-orchard/42706/22 "2022-10-02T01:45:39Z")

</div>

Hello Folks! Work continues apace on `Zingo!`.

The ZingoLabs team has implemented and manually verified sending Orchard memos per our contracted second milestone.

Additionally we’ve built out a scenario testing framework that permits us to verify correct behavior of our software from CLI to (regtest) blockchain. We’ll be integrating these additional tests into CI in the near future. This provides us with toolkit for testing actual integrated system behavior in an environment that is isolated from current network weather.

Additionally our UI has been significantly expanded, including new views that provides us insight into the sync process from the mobile-app perspective. We’ve decided to leave memo send-and-receive unmodified from the previous format, until we finish implementing multi-receiver UAs, and decide (with feedback!) what UX makes sense with them.

ZingoLabs, Human Empowering Tech

---

<div class="post-metadata">

**Author:** ![hanh](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/hanh/32/27853_2.png) [@hanh](https://forum.zcashcommunity.com/u/hanh)\
**Post date:** [October 2, 2022, 3:16am UTC](https://forum.zcashcommunity.com/t/implement-orchard/42706/23 "2022-10-02T03:16:44Z")

</div>

Hi @zancas, quick question: Are you basing your work of @adityapk00 's Orchard/UA implementation, or is it a different implementation altogether?

---

<div class="post-metadata">

**Author:** ![AloeareV](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/aloearev/32/20303_2.png) [@AloeareV](https://forum.zcashcommunity.com/u/AloeareV)\
**Post date:** [October 3, 2022, 2:10pm UTC](https://forum.zcashcommunity.com/t/implement-orchard/42706/24 "2022-10-03T14:10:02Z")

</div>

Our current Orchard/UA implementation is our own work, but heavily based on the Sapling/Transparent architecture of aditya’s that already existed. We plan to rework the wallet to be UA-central (with the ability to generate UAs of all possible reciever combinations via diversifying, and having the legacy address types extracted from a UA instead of being generated with separate keys), and the UI is actually a fair ways ahead of the actual wallet implementation on this.

---

<div class="post-metadata">

**Author:** ![hanh](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/hanh/32/27853_2.png) [@hanh](https://forum.zcashcommunity.com/u/hanh)\
**Post date:** [October 30, 2022, 2:44am UTC](https://forum.zcashcommunity.com/t/implement-orchard/42706/25 "2022-10-30T02:44:51Z")

</div>

> [@str4d](#):
>
> If the sender’s wallet has sufficient funds in the Sapling pool to create a transaction, then if the receiver’s UA contains both Sapling and Orchard receivers (i.e. the receiver is indicating their preference to receive funds into either of these pools), the sender’s wallet can create a fully-shielded Sapling-to-Sapling transaction instead of an amount-visible Sapling-to-Orchard transaction.

I have just tried this scenario with zcashd and I get an error.  
It tries to send to the Orchard pool.

> <https://github.com/zcash/zcash/issues/6229>
>
> \### Describe the issue
> Zcashd seems to incorrectly prevent a transfer to a unif…ied address that has sapling + orchard receivers
> when the source account only has sapling funds.
> 
> \### Can you reliably reproduce the issue?
> \#### If so, please list the steps to reproduce below:
> 1. Create an account 
> 2. Add a unified address with p2pkh, sapling and orchard receivers
> 3. fund the account by sending some zec to the sapling address
> 4. try to transfer from this account to itself
> 
> \`\`\`
> \[hanh@archlinux zcash-main\]$ zcash-cli -datadir=$HOME/zcash-main z\_getbalanceforaccount 0
> {
> "pools": {
> "sapling": {
> "valueZat": 1000000
> }
> },
> "minimum\_confirmations": 1
> }
> \[hanh@archlinux zcash-main\]$ zcash-cli -datadir=$HOME/zcash-main z\_sendmany "u1pncsxa8jt7aq37r8uvhjrgt7sv8a665hdw44rqa28cd9t6qqmktzwktw772nlle6skkkxwmtzxaan3slntqev03g70tzpky3c58hfgvfjkcky255cwqgfuzdjcktfl7pjalt5sl33se75pmga09etn9dplr98eq2g8cgmvgvx6jx2a2xhy39x96c6rumvlyt35whml87r064qdzw30e" '\[{"address": "u1pncsxa8jt7aq37r8uvhjrgt7sv8a665hdw44rqa28cd9t6qqmktzwktw772nlle6skkkxwmtzxaan3slntqev03g70tzpky3c58hfgvfjkcky255cwqgfuzdjcktfl7pjalt5sl33se75pmga09etn9dplr98eq2g8cgmvgvx6jx2a2xhy39x96c6rumvlyt35whml87r064qdzw30e", "amount": 0.001}\]' 1
> opid-d23ead11-b3e7-43a9-9c4e-78d4983d8f19
> \[hanh@archlinux zcash-main\]$ zcash-cli -datadir=$HOME/zcash-main z\_getoperationresult 
> \[
> {
> "id": "opid-d23ead11-b3e7-43a9-9c4e-78d4983d8f19",
> "status": "failed",
> "creation\_time": 1667096699,
> "error": {
> "code": -8,
> "message": "Sending from the Sapling shielded pool to the Orchard shielded pool is not enabled by default because it will publicly reveal the transaction amount. THIS MAY AFFECT YOUR PRIVACY. Resubmit with the \`privacyPolicy\` parameter set to \`AllowRevealedAmounts\` or weaker if you wish to allow this transaction to proceed anyway."
> },
> "method": "z\_sendmany",
> "params": {
> "fromaddress": "u1pncsxa8jt7aq37r8uvhjrgt7sv8a665hdw44rqa28cd9t6qqmktzwktw772nlle6skkkxwmtzxaan3slntqev03g70tzpky3c58hfgvfjkcky255cwqgfuzdjcktfl7pjalt5sl33se75pmga09etn9dplr98eq2g8cgmvgvx6jx2a2xhy39x96c6rumvlyt35whml87r064qdzw30e",
> "amounts": \[
> {
> "address": "u1pncsxa8jt7aq37r8uvhjrgt7sv8a665hdw44rqa28cd9t6qqmktzwktw772nlle6skkkxwmtzxaan3slntqev03g70tzpky3c58hfgvfjkcky255cwqgfuzdjcktfl7pjalt5sl33se75pmga09etn9dplr98eq2g8cgmvgvx6jx2a2xhy39x96c6rumvlyt35whml87r064qdzw30e",
> "amount": 0.001
> }
> \],
> "minconf": 1,
> "fee": 1e-05
> }
> }
> \]
> \`\`\`
> 
> \### Expected behaviour
> Since my UA has a sapling receiver, I expect that receiver to be used.
> 
> \### Actual behaviour + errors
> 
> Sending from the Sapling shielded pool to the Orchard shielded pool is not enabled by default
> 
> \### The version of Zcash you were using:
> Run \`zcashd --version\` to find out
> 
> 5.2.0

---

<div class="post-metadata">

**Author:** ![Autotunafish](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/autotunafish/32/7827_2.png) [@Autotunafish](https://forum.zcashcommunity.com/u/Autotunafish)\
**Post date:** [November 1, 2022, 12:16am UTC](https://forum.zcashcommunity.com/t/implement-orchard/42706/26 "2022-11-01T00:16:43Z")

</div>

maybe? from the 4.7.0 release notes  
“The zcashd wallet has been modified to alter the way that change is handled. In the case that funds are being spent from a unified account, change is sent to a wallet-internal change address for that account instead of sending change amounts back to the original address where a note being spent was received.”

---

<div class="post-metadata">

**Author:** ![zancas](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/zancas/32/42011_2.png) [@zancas](https://forum.zcashcommunity.com/u/zancas)\
**Post date:** [November 2, 2022, 3:30am UTC](https://forum.zcashcommunity.com/t/implement-orchard/42706/27 "2022-11-02T03:30:04Z")

</div>

Hey folks! Our implementation is in its final testing stages. We’ve got several lightclients in test on `iOS`, `Android`, and command line.

Because of sync delays, we won’t complete live-testing until tomorrow.

---

<div class="post-metadata">

**Author:** ![zancas](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/zancas/32/42011_2.png) [@zancas](https://forum.zcashcommunity.com/u/zancas)\
**Post date:** [November 3, 2022, 2:12am UTC](https://forum.zcashcommunity.com/t/implement-orchard/42706/28 "2022-11-03T02:12:33Z")

</div>

Here’s an example of a successful Orchard Pool, mobile device receipt:

 ![image](https://global.discourse-cdn.com/zcash/original/3X/0/3/0327dafdce69945317dab0fb422b76d6cf883678.jpeg)

---

<div class="post-metadata">

**Author:** ![zancas](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/zancas/32/42011_2.png) [@zancas](https://forum.zcashcommunity.com/u/zancas)\
**Post date:** [November 5, 2022, 9:30pm UTC](https://forum.zcashcommunity.com/t/implement-orchard/42706/29 "2022-11-05T21:30:53Z")

</div>

Hey folks. I am please to announce that Zingo! has a fully functional sending-and-receiving UA/orchard supporting mobile wallet.

Interested parties are invited to reach out for access to test accounts on Android and iOS.

The source code is available here:

> **[GitHub - zingolabs/zingolib: An API and test-app that exposes zcash...](https://github.com/zingolabs/zingolib/tree/dev)**
>
> dev

Command line users can use `zingo-cli` to send and receive UA/Orchard transactions without any “gatekeeper” registration.

Cheers,  
–Za

---

<div class="post-metadata">

**Author:** ![zancas](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/zancas/32/42011_2.png) [@zancas](https://forum.zcashcommunity.com/u/zancas)\
**Post date:** [November 5, 2022, 9:36pm UTC](https://forum.zcashcommunity.com/t/implement-orchard/42706/30 "2022-11-05T21:36:16Z")

</div>

More insight into our operations/plans etc. can be gained by joining the conversation here:

> **[You're invited to talk on Matrix](https://matrix.to/#/!AzklaHJSzXzWAHVYmx:matrix.org?via=matrix.org&via=envs.net)**
>
> You're invited to talk on Matrix. If you don't already have a client this link will help you pick one, and join the conversation. If you already have one, this link will help you join the conversation

---

<div class="post-metadata">

**Author:** ![agi](https://avatars.discourse-cdn.com/v4/letter/a/5f9b8f/32.png) [@agi](https://forum.zcashcommunity.com/u/agi)\
**Post date:** [November 16, 2022, 9:09am UTC](https://forum.zcashcommunity.com/t/implement-orchard/42706/31 "2022-11-16T09:09:55Z")

</div>

I would like to join your Matrix room, but I’m getting this error.

 ![image](https://global.discourse-cdn.com/zcash/original/3X/8/5/8529f472ce4a1cb9e9e77b2065c2b82edd39afc9.png)

---

<div class="post-metadata">

**Author:** ![Autotunafish](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/autotunafish/32/7827_2.png) [@Autotunafish](https://forum.zcashcommunity.com/u/Autotunafish)\
**Post date:** [November 16, 2022, 1:36pm UTC](https://forum.zcashcommunity.com/t/implement-orchard/42706/32 "2022-11-16T13:36:46Z")

</div>

matrix didn’t actually work for me either, had to use [element.io](http://element.io)

---

<div class="post-metadata">

**Author:** ![zancas](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/zancas/32/42011_2.png) [@zancas](https://forum.zcashcommunity.com/u/zancas)\
**Post date:** [November 16, 2022, 3:40pm UTC](https://forum.zcashcommunity.com/t/implement-orchard/42706/33 "2022-11-16T15:40:31Z")

</div>

Hey @agi can you try connecting with an [element.io](http://element.io) client? I am not clear on the pro-and-cons associated with different clients.

---

<div class="post-metadata">

**Author:** ![Autotunafish](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/autotunafish/32/7827_2.png) [@Autotunafish](https://forum.zcashcommunity.com/u/Autotunafish)\
**Post date:** [November 16, 2022, 3:56pm UTC](https://forum.zcashcommunity.com/t/implement-orchard/42706/34 "2022-11-16T15:56:21Z")

</div>

(Me neither! It was just “that one didn’t work so let’s try this one… Qaplah!”)

---

<div class="post-metadata">

**Author:** ![agi](https://avatars.discourse-cdn.com/v4/letter/a/5f9b8f/32.png) [@agi](https://forum.zcashcommunity.com/u/agi)\
**Post date:** [December 6, 2022, 12:52pm UTC](https://forum.zcashcommunity.com/t/implement-orchard/42706/35 "2022-12-06T12:52:14Z")

</div>

oh , I didn’t notice your answer . Yes , I do use [element.io](http://element.io)

---

<div class="post-metadata">

**Author:** ![zancas](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/zancas/32/42011_2.png) [@zancas](https://forum.zcashcommunity.com/u/zancas)\
**Post date:** [December 10, 2022, 4:56pm UTC](https://forum.zcashcommunity.com/t/implement-orchard/42706/36 "2022-12-10T16:56:06Z")

</div>

You can contact me at: @zancas:matrix.org

[Previous page](https://forum.zcashcommunity.com/t/implement-orchard/42706.md?page=1)
