"Shielded" Bitcoin

Shielded Bitcoin replicates Zcash’s privacy tech in Bitcoin but lacks validation, security, and an operational peg, unlike Zcash’s established privacy solutions.

“Zerocoin started in 2013 as a plan to add privacy to Bitcoin. Bitcoin wouldn’t take it, so Zcash was built. Thirteen years later, Bitcoin’s best private design is a partial copy of Zcash, and it can only work by keeping Bitcoin itself out of the loop.”

13 Likes
3 Likes

Interesting to see Zcash’s privacy research influencing new approaches to Bitcoin privacy. :eyes:

Good thread. I spent some time going through the paper line by line next to the Zcash spec, and I mostly agree with the “Sapling-era” framing, with a few nuances.

Where it really is Sapling-era:

  • Groth16 with a trusted setup (one per supported arity), not Halo 2
  • The nullifier includes the note’s tree position, like Sapling and unlike Orchard
  • Input and output counts are public, so there’s no arity hiding like Orchard’s Actions
  • Diversified addresses (d, pk_d) with g_d = DiversifyHash(d), and an 11-byte diversifier

Where it goes its own way:

  • No value commitments or binding signature. Balance is a plain Σ in = Σ out inside one proof, plus range checks.
  • No spend authorization signature. sk_spend is a private input to the circuit, closer to Sprout than to Sapling. The catch is that you can’t hand proving off to a helper without giving it spend authority. The paper says this outright.
  • Tree leaves commit to the ciphertext, and the proof checks the encryption. Zcash doesn’t prove the attached ciphertext matches the note.
  • Keys come from an HKDF-SHA256 chain, and the nullifier secret is never part of any viewing key.

On “lacks validation”: I’d put it a bit differently. Proofs are validated, just not by Bitcoin. Indexers replay every envelope in block order and drop invalid ones, so the trust question shifts to running your own indexer or trusting someone else’s. On the peg, agreed: it’s explicitly out of scope and deferred to PIPEs v2. The paper also doesn’t describe anything like Zcash’s turnstile, which after this year’s Orchard bug and the Ironwood migration feels like the biggest gap.

I wrote all of this up layer by layer, with toy examples you can check by hand, if anyone wants the detailed comparison:
https://medium.com/@aannkkiittaa/shielded-bitcoin-vs-zcash-same-idea-different-math-d9d77765e6ba?sharedUserId=aannkkiittaa

Happy to be corrected on any of it.

2 Likes

PIPEs require several terabytes of space (original prototype required nearly 300 TB), and have already been broken once. I wouldn’t bet a lot on it.