ZIP: Unassigned
Title: Disabling Sapling Pool Deposits
Owners: Dev Ojha <[email protected]>
Status: Draft
Category: Consensus / Wallet
Created: 2026-10-27
License: MIT
Discussions-To: <https://forum.zcashcommunity.com/t/sapling-withdraw-only-discussion-kickoff/55223>
Pull-Request: <https://github.com/zcash/zips/pull/???>

Terminology

The key words “MUST”, “MUST NOT”, “SHOULD”, “SHOULD NOT”, and “MAY” in this document are to be interpreted as described in BCP 14 1 when, and only when, they appear in all capitals.

The term “network upgrade” in this document is to be interpreted as described in ZIP 200. 2

The character § is used when referring to sections of the Zcash Protocol Specification. 3

The terms “Mainnet” and “Testnet” are to be interpreted as described in § 3.12 ‘Mainnet and Testnet’. 4

The term “Sapling shielded protocol” refers to the shielded payment protocol introduced in the Sapling network upgrade. 5 Following the convention of ZIP 229 6, Sapling pool, Orchard pool and Ironwood pool refer to chain value pools, as distinct from the protocols that operate on them.

The term “Sapling chain value pool balance” is to be interpreted as described in ZIP 209 7 and § 4.17 ‘Chain Value Pool Balances’. 8

The term “quantum recoverable” is to be interpreted as described in ZIP 2005. 9

NU8 refers to the network upgrade following NU7.

Abstract

This proposal disables the ability to add new value to the Sapling chain value pool balance. From NU8 activation, every transaction’s Sapling value balance must be nonnegative: value may leave the Sapling pool, or move between Sapling notes, but no new value may enter it. Coinbase transactions may no longer contain Sapling outputs.

This starts the migration of the remaining Sapling pool funds into quantum-recoverable shielded pools (the Ironwood pool today). It is the Sapling counterpart of what ZIP 211 10 did for Sprout at Canopy and what ZIP 2006 11 did for the Orchard pool at NU6.3.

Motivation

The Sapling shielded protocol is not quantum recoverable: an adversary able to compute discrete logarithms, for example with a quantum computer, could steal funds held in the Sapling pool. ZIP 2005 expects Sapling funds to be migrated to the Ironwood pool instead 9. Ironwood notes are quantum recoverable, and formal verification provides evidence against undetectable counterfeiting bugs existing in Ironwood. 12 13 Ironwood and later Tachyon 14 are steps toward a fully post-quantum shielded pool soon after.

Nothing currently stops new value from entering the Sapling pool, and every deposit adds to what must later be migrated. Pool migrations take years: about 22,000 ZEC remains in Sprout six years after ZIP 211 disabled additions to it 10. The Sapling pool holds about 419,900 ZEC, or 8.5% of shielded ZEC 15. Disabling deposits now, while all funds remain fully spendable, gives custodians and wallets a firm deadline and makes the remaining balance only decline.

The cost of doing so is low. Excluding mining pool coinbase shielding and the Zcash Community Grants funding stream, which can move to Ironwood (see Open issues), only 1.2% of non-coinbase transactions in the last 30 days touched the Sapling pool, and they withdrew 101,216 ZEC more than they deposited. Coinbase outputs to Sapling are essentially unused. 16

As with Sprout 10, disabling additions also limits the impact of any undiscovered soundness bug in Sapling, and is a precondition for eventually removing the Sapling shielded protocol.

Privacy Implications

Withdrawals from the Sapling pool reveal the amount that leaves it, through the Sapling value balance. This is unchanged by this ZIP. However, the ZIP will cause most remaining Sapling value to cross a turnstile over time. Wallets should therefore migrate Sapling funds in a way that limits linkability of the amounts moved; see Changes to ZIP 318.

The Sapling pool anonymity set is its note commitment set, which this ZIP does not reduce. As fewer transactions use the pool, individual Sapling transactions may become easier to distinguish by timing and amount, as is true of any shielded pool with low usage, but the unlinkability of spent notes from the transactions that created them is unaffected.

Full nodes change behaviour at the NU8 activation height, and from that height consensus prevents all wallets from adding value to the Sapling pool, so wallets also change behaviour at that height in this respect. When a wallet chooses to migrate its users' Sapling funds is not constrained to a single height; using a common migration procedure (ZIP 318 17) limits how much that choice distinguishes wallets.

Requirements

Non-requirements

Specification

Consensus rules

The following rules apply to every transaction in a block at a height greater than or equal to the NU8 activation height, regardless of transaction version:

Non-normative notes:

Changes to ZIP 213

In the Specification section of ZIP 213 20, after the NU6.3 rules, add:

Once the NU8 network upgrade activates:

Changes to the Protocol Specification

§ 7.1.2 ‘Transaction Consensus Rules’ 21 gains the two consensus rules above, gated on NU8 activation, alongside the existing NU6.3 rule that \(\mathsf{v}^{\textit{OrchardPoolBalance}}\) is nonnegative.

Changes to ZIP 318

ZIP 318 17 is extended so that its migration procedure can take either the Orchard pool or the Sapling pool as its source pool, with the Ironwood pool as the destination in both cases:

Mixing source pools within one transaction or one migration schedule would link a user’s Sapling and Orchard holdings, so each migration is restricted to one source pool.

Requirements for wallets and node software

From NU8 activation:

Transactions signed for an earlier consensus branch become invalid at NU8 activation under ZIP 200 2 and ZIP 244 22, so no mempool-specific rule is needed.

Rationale

Why a balance rule, not a circuit change

The rule mirrors ZIP 211 for Sprout and ZIP 2006 for Orchard. It only needs a check on a field validators already parse. It does not touch the Sapling Spend or Output circuits. That avoids a new parameter generation ceremony, any risk of a soundness regression in Groth16 circuits, and any new transaction version. The implementation is a few lines in each full validator, and its security is easy to analyse.

Why internal transfers stay allowed

ZIP 2006 also disabled cross-address transfers within the Orchard pool. That was possible because the new Orchard Action circuit had an enableCrossAddress flag 11. Doing the same for Sapling would need a new Sapling circuit and trusted setup, which this ZIP sets out to avoid.

Allowing Sapling outputs also lets wallets keep using Sapling change when withdrawing, so a withdrawal reveals only the amount leaving the pool rather than the total value of the notes spent.

Why the coinbase prohibition is explicit

ZIP 213 has allowed coinbase outputs to Sapling addresses since Heartwood 20, but miners have not adopted it: only one Mainnet block has ever paid its coinbase to a Sapling output. {TODO: cite the block height and txid.} Shielded coinbase has instead moved to the Orchard protocol, which since NU6.3 pays into the Ironwood pool. In the 30 days to height 3,532,124, 4.6% of blocks paid their coinbase directly to the Ironwood pool, and none contained a Sapling output. 16 Leaving Sapling coinbase outputs available invites zero-value or misconfigured outputs that add commitments with no purpose. The explicit rule matches the ZIP 2006 Orchard rule.

Deployment

This ZIP is proposed for deployment in the NU8 network upgrade.

Open issues

References


  1. Information on BCP 14 — “RFC 2119: Key words for use in RFCs to Indicate Requirement Levels” and “RFC 8174: Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words”  ↩︎

  2. ZIP 200: Network Upgrade Mechanism  ↩︎

  3. Zcash Protocol Specification, Version 2026.6.4 or later  ↩︎

  4. Zcash Protocol Specification. Section 3.12: Mainnet and Testnet  ↩︎

  5. ZIP 205: Deployment of the Sapling Network Upgrade  ↩︎

  6. ZIP 229: Version 6 Transaction Format  ↩︎

  7. ZIP 209: Prohibit Negative Shielded Chain Value Pool Balances  ↩︎

  8. Zcash Protocol Specification. Section 4.17: Chain Value Pool Balances  ↩︎

  9. ZIP 2005: Ironwood Quantum Recoverability  ↩︎

  10. ZIP 211: Disabling Addition of New Value to the Sprout Chain Value Pool  ↩︎

  11. ZIP 2006: Restricting Transfers into the Orchard Pool  ↩︎

  12. The Ironwood Book  ↩︎

  13. Formal Verification of Zcash Ironwood Completed  ↩︎

  14. Tachyon: Scaling Zcash with Oblivious Synchronization  ↩︎

  15. CipherScan Mainnet chain value pool balances, retrieved 2026–10–27 at height 3,532,124.  ↩︎

  16. Analysis of all 34,560 Mainnet blocks at heights 3,497,565 to 3,532,124 (2026–09–27 to 2026–10–27), using per-transaction data from the CipherScan API. Transactions were classified by the sign of valueBalanceSapling: deposits (negative), withdrawals (positive beyond the fee, or with transparent or other shielded outputs), and internal transfers (otherwise). A deposit is attributed to a mining pool or to the ZCG funding stream when that party’s coinbase payout address supplied most of its transparent input value. A withdrawal is attributed to a pool when it pays that pool’s coinbase payout address, or when the value leaving Sapling exactly equals the sum of up to its number of Sapling spends of that pool’s deposits made in the preceding 4,032 blocks. Pool names are from CipherScan’s labels for the coinbase payout address. Hashpower share is estimated by share of blocks mined. Each block is assigned to the Ironwood pool if its coinbase transaction has Ironwood outputs; otherwise to the pool into which most of the in-window coinbase value of its miner payout address (excluding the funding stream address t3cFfPt1Bcvgez9ZbMBFWeZsskxTkPzGCow) was subsequently shielded. This gives Sapling 71.6% of blocks and Ironwood 28.4% (23.8% by later sweep and 4.6% by shielded coinbase).  ↩︎

  17. ZIP 318: Orchard to Ironwood Migration  ↩︎

  18. Zcash Protocol Specification. Section 4.13: Balance and Binding Signature (Sapling)  ↩︎

  19. ZIP 248: Extensible Transaction Format  ↩︎

  20. ZIP 213: Shielded Coinbase  ↩︎

  21. Zcash Protocol Specification. Section 7.1.2: Transaction Consensus Rules  ↩︎

  22. ZIP 244: Transaction Identifier Non-Malleability  ↩︎

  23. ZIP 214: Consensus rules for a Zcash Development Fund  ↩︎