# Ahead of the 10th anniversary.... programmability\* comes to shielded Zcash!

**URL:** <https://forum.zcashcommunity.com/t/ahead-of-the-10th-anniversary-programmability-comes-to-shielded-zcash/58423>\
**Category:** General\
**Created:** [October 21, 2026, 6:08pm UTC](https://forum.zcashcommunity.com/t/ahead-of-the-10th-anniversary-programmability-comes-to-shielded-zcash/58423 "2026-10-21T18:08:31Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![strahncryptography](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/strahncryptography/32/46464_2.png) [@strahncryptography](https://forum.zcashcommunity.com/u/strahncryptography)\
**Post date:** [October 21, 2026, 6:08pm UTC](https://forum.zcashcommunity.com/t/ahead-of-the-10th-anniversary-programmability-comes-to-shielded-zcash/58423/1 "2026-10-21T18:08:31Z")

</div>

I know, I know, you’re probably tired of us making yet another announcement. Our researchers are proud to say they have figured it out and are now introducing ** ~~programmable~~ composable locks** to shielded Zcash, which are (mostly)^ shielded and fully anonymous! HTLCs, witness locks, preimage locks, even encryption locks galore!

TL;DR: This breakthrough allows two parties to negotiate a provably secure lock such that the funds can only be spent on certain conditions, such as:

- Providing a certain witness
- Providing the preimage to a certain hash, essentially, requiring that you know the original text of a certain hash
- (Still in development) providing the decryption key to a certain piece of encrypted text
- A certain time or block height having being reached^
- Cannot spend once a certain height has been reached

Meanwhile, the funds can still be recovered from the lock by all parties’ collaboration.

This was built on the backs of FROST, so I guess we thank their developers. The core primitive is called **Violet’s Constrained Locks** , which takes an algorithm and a DKG to securely generate a lock by messaging off-chain.

In the process, we invented several types of new sub-protocols, such as:

- hashFROST
- preFROST
- (in-dev) encFROST

**Conditions marked with ^ leak certain details to outside observers, that is: the existence of the lock, and when the lock is spent. These will disappear provided two things are done: One ZIP is clarified and another ZIP is passed. If you wish to see them being entirely shielded, support the inclusion of ZIP 68 and clarification of** [[protocol spec] [ZIP 203] Clarify how transaction lock times are handled · Issue #539 · zcash/zips · GitHub](https://github.com/zcash/zips/issues/539)

Anyways, we will soon be releasing the `vcl` crate so you can all experiment with it, as well as machine checked proofs!

Preliminary paper: [Violet's Constrained Locks, or: How I Learned to Stop Worrying and Love Scriptless Chains · 2026/0002](https://swiss.strahn.dev/p/2026/0002)

Example transactions:

| Example of | What it reveals | What it doesn’t reveal | Transaction link |
| --- | --- | --- | --- |
| Setting up a hash-lock, Poseidon hash | The existence of the lock as a 54-zat transparent output | Any shielded address or any involved shielded amounts | [Zcash Transaction 7714868cd5...0e09d3 | ZecBlock](https://testnet.cipherscan.app/tx/7714868cd543f316ee07ffed4d28e35118e361d440832f955478da51010e09d3) |
| Claiming a hash-lock in reveal mode, Poseidon hash | Which lock was claimed, the preimage (only to the other party) | Same as above | [Zcash Transaction 743299510c...68f036 | ZecBlock](http://testnet.cipherscan.app/tx/743299510cbdaccdb2f76a38ee67ccb1db89401d2f529af0980142f91168f036) |
| Refunding a hash-lock, Poseidon hash | Same as above, no preimage is revealed | Same as above | [Zcash Transaction 18f2490d69...942b2e | ZecBlock](http://testnet.cipherscan.app/tx/18f2490d69b7783344b88a6ddeaafd294d942564e1b86290e7aff81312942b2e) |

As always, if you support our work (or have ANY questions), please engage with this, and let us know!

---

_[View the full topic](https://forum.zcashcommunity.com/t/ahead-of-the-10th-anniversary-programmability-comes-to-shielded-zcash/58423)._
