← All insights
RESEARCHZcash Forum · Igor

Trustless bridging proposal for Zcash

Matter Labs proposed a general-purpose Halo2-based TZE interface that would support programmability and connection to Ethereum liquidity without trust assumptions.

Igor of Matter Labs, the core developer of ZKsync, proposed trustless bridging for Zcash. Starting from the concern that the previously discussed TZE for native L2s enables smart contracts on Zcash but comes with unresolved problems of censorship resistance and liquidity fragmentation, it presents a more general interface that also supports bridging. The proposal uses the existing Halo2 proof system, and argues this is a safer choice than introducing new cryptographic primitives.

The author points to two problems with L2s. One is that as L2s multiply, assets get locked on each chain and liquidity is diluted, and the other is censorship resistance, since operators can freeze funds. On Ethereum, according to L2Beat, none of the top 15 rollups has reached Stage 2. Ethereum keeps adding protections such as upgrade limits and security councils, but Zcash would have to add L2 support at the consensus layer, which makes this approach difficult.

The solution is to introduce into TZE an abstraction that can implement bridges as well as rollups. The public inputs represent the state transitions of both chains, the target chain of the bridge and Zcash, and it relies on a second chain that already has censorship resistance and interoperability to prevent withdrawal denial. The TZE has Create, Deposit and STF modes and an optional Force withdrawal mode. The proof system uses Halo2, and it explains that proofs built with Circle STARK, SP1 and others can be recursively wrapped in a Halo2 proof.

For a first implementation it proposes a trustless bridge to Ethereum, and promises that if adopted, Matter Labs will provide a production-grade implementation. The reasons are that Ethereum has no single block producer so forced withdrawal is optional, its consensus is easy to verify, and it has active DeFi and interoperability ecosystems. A proof of concept is at matter-labs/zcash_eth_bridge. Limitations are that it covers only the transparent pool, that if there are multiple bridges to the same network the token versions split so a preferred bridge must be chosen, and that it does not address ZIP 227.

The author asks the community for views on a general-purpose TZE that is optimized for bridging yet usable for L2 implementations, on whether Ethereum is appropriate as the first target chain, and on whether Halo2 is appropriate as this TZE's proof system. In the proof system discussion, it also disclosed Matter Labs' stake in that it uses the RISC-V-based airbender.

This summary is based on the original; check the original for exact details.