Violet's CL: programmable locks for shielded Zcash
The strahncryptography team introduced Violet's Constrained Locks, which build hash locks, witness locks and more on FROST. A preliminary paper and testnet examples were published.
The strahncryptography team announced Violet's Constrained Locks (VCL), which bring programmable and composable locks to shielded Zcash. The author explains that these locks are mostly shielded and fully anonymous. When two parties negotiate a lock, the funds can be spent only under the set conditions, and if all parties cooperate the funds can be reclaimed from the lock.
Supported conditions include presenting a specific witness, presenting the preimage of a specific hash, reaching a specific time or block height, and being unspendable after a specific height. A condition for presenting a ciphertext decryption key is still under development. The core primitives are built on FROST, and the algorithm and DKG create a lock securely by exchanging only off-chain messages. Along the way the team also built the sub-protocols hashFROST, preFROST and encFROST, which is still under development.
For time-related conditions, the existence of the lock and the time it is spent are visible to outside observers. The author argues that this exposure disappears once one ZIP is clarified and another is passed, and asked for support for including ZIP 68 and for clarifying how ZIP 203 handles a transaction's locktime (zcash/zips issue #539).
The team plans to release the vcl crate and machine-verified proofs soon, and the preliminary paper is posted as 2026/0002. The post tabulates testnet transaction examples that set up, claimed and refunded a Poseidon hash lock. For example, in setting up a lock, only the existence of a 54 zat transparent output is revealed, and the shielded address and amount are not.
This summary is based on the original; check the original for exact details.