> ## Content Index
> Fetch the complete content index at: https://blog.chainsafe.io/llms.txt
> Use this file to discover other available public pages before exploring further.

# Zcash in the browser: Bringing shielded ZEC to MetaMask
- URL: https://blog.chainsafe.io/zcash-in-the-browser-bringing-shielded-zec-to-metamask/
- Published: 2025-07-21T13:40:13.000Z
- Updated: 2026-11-04T21:25:29.000Z
- Description: Send, receive, and manage shielded ZEC directly from the browser.
- Author: Ben Adar
- Tags: #Import 2026-11-04 06:17

After months of research, prototyping, and iteration, we’re proud to release the Zcash Snap: a fully functional MetaMask Snap that lets users send, receive, and manage shielded ZEC directly from the browser.

[Zcash Shielded WalletCustomize your web3 experience with Zcash Shielded Wallet.![](https://snaps.metamask.io/icons/icon-192x192.png?v=568fd0b854cf6abf842679bfb6cc6fe1)MetaMask Snaps Directory![](https://snaps.metamask.io/static/b466d58c5b6d114965a20145c1bc1a4c/banner.png)](https://snaps.metamask.io/snap/npm/chainsafe/webzjs-zcash-snap/?ref=blog.chainsafe.io)

## The challenge

Most cryptocurrencies work fine in a browser. Zcash isn’t most cryptocurrencies.

Its shielded pool relies on zero-knowledge proofs, complex cryptographic systems that use custom circuits, massive proving keys, and memory-heavy computations. That’s never been a good fit for browser environments.

To make things trickier, wallet frameworks like MetaMask were never built to support shielded assets out of the box. There was no drop-in solution. If we wanted Zcash to work in a browser, we’d need a whole new approach. One that preserved its privacy guarantees without requiring users to install a custom node or give up control.

## First, we asked, “Is this even possible?”

In Summer 2024, before writing a single line of code, we partnered with Zcash Community Grants on a feasibility study. The question was simple: Can shielded ZEC run in the browser?

We dug into the technical constraints—circuit size, memory limits, and proving time—and tested whether a subset of the proving system could realistically run client-side without compromising performance or correctness.

The answer? Yes. With the right optimizations, browser support wasn’t just possible, it was within reach.

That led to two grants:

- One from Zcash Community Grants to build a browser-native Zcash library.
- One jointly funded by the MetaMask Grants DAO and Zcash Community Grants to create a Snap using that library.

> Not long ago, the ChainSafe R&D team completed a feasibility study on developing a Zcash web wallet.  
>  
> Now, we’re thrilled to announce two grants: one from [@ZcashFoundation](https://twitter.com/ZcashFoundation?ref%5Fsrc=twsrc%5Etfw&ref=blog.chainsafe.io) to develop WebZjs, a browser client library, and another from [@MetaMask](https://twitter.com/MetaMask?ref%5Fsrc=twsrc%5Etfw&ref=blog.chainsafe.io) to build a [@zcash](https://twitter.com/Zcash?ref%5Fsrc=twsrc%5Etfw&ref=blog.chainsafe.io) snap using it. [https://t.co/Qdvtoc40fq](https://t.co/Qdvtoc40fq?ref=blog.chainsafe.io)
> 
> — ChainSafe (@ChainSafeth) [August 7, 2024](https://twitter.com/ChainSafeth/status/1821264021896749442?ref%5Fsrc=twsrc%5Etfw&ref=blog.chainsafe.io)

➡️

[Read the Feasibility Report here](https://research.chainsafe.io/featured/Publications/Zcash-web-feasibility/?utm%5Fmedium=social&utm%5Fsource=twitter&utm%5Fcampaign=Zcash)

## The first in-browser Zcash shielded transaction

> Our team has just completed the world’s FIRST [@zcash](https://twitter.com/Zcash?ref%5Fsrc=twsrc%5Etfw&ref=blog.chainsafe.io) shielded transaction directly from a browser! 🎉🔐  
>  
> This is a huge leap toward making private, secure ZEC transactions more accessible than ever. 🤝 [https://t.co/biXXc0RcfD](https://t.co/biXXc0RcfD?ref=blog.chainsafe.io)
> 
> — ChainSafe (@ChainSafeth) [September 26, 2024](https://twitter.com/ChainSafeth/status/1839388987770949979?ref%5Fsrc=twsrc%5Etfw&ref=blog.chainsafe.io)

As a proof of concept, we used an early prototype of the library (what would become WebZjs) to send the first-ever shielded transaction entirely in the browser.

Shielded ZEC, live in a browser tab. No custodians. No custom software. Just code and cryptography.

That first transaction proved it could be done. The next step was making it repeatable.

## WebZjs: A Zcash library for browsers

We built WebZjs to provide all the core functionality developers need:

- Generate and verify zk-SNARKs
- Build and sign shielded transactions
- Interface with Sapling
- Manage wallet state and addresses

All in the browser. No compromises on privacy.

With WebZjs, developers can integrate shielded ZEC directly into web apps and wallet interfaces, making private transactions more accessible without lowering the security bar.

> Webᙇjs is now ready to support wallet development!  
>  
> This marks the beginning of Webᙇjs as a tool that the community can use and contribute to! [https://t.co/u4W6y37azV](https://t.co/u4W6y37azV?ref=blog.chainsafe.io)
> 
> — ChainSafe (@ChainSafeth) [October 18, 2024](https://twitter.com/ChainSafeth/status/1847341864661258620?ref%5Fsrc=twsrc%5Etfw&ref=blog.chainsafe.io)

## Wrapping it in a Snap

Next, we used WebZjs to build the MetaMask Zcash Snap.

Snaps let developers extend MetaMask with custom logic, safely sandboxed from the core wallet. That made it the perfect platform for Zcash: custom cryptography, privacy-preserving logic, and a familiar user experience.

The Zcash Snap supports:

- Fully shielded send/receive
- Sapling key management
- Native ZEC support in MetaMask
- A no-install, fully private workflow

And all of it works in a regular browser, with the same privacy guarantees Zcash is known for.

Ivan Rubido was able to demo the snap at ZconVI ⤵️

> And wrapping up Day 1 of [#ZconVI](https://twitter.com/hashtag/ZconVI?src=hash&ref%5Fsrc=twsrc%5Etfw&ref=blog.chainsafe.io), Ivan Rubido from [@ChainSafeth](https://twitter.com/ChainSafeth?ref%5Fsrc=twsrc%5Etfw&ref=blog.chainsafe.io) provided a demo of an in-browser [#Zcash](https://twitter.com/hashtag/Zcash?src=hash&ref%5Fsrc=twsrc%5Etfw&ref=blog.chainsafe.io) wallet with Metamask Snaps. [https://t.co/gpUr709SHS](https://t.co/gpUr709SHS?ref=blog.chainsafe.io)
> 
> — Zcash Foundation 🛡️ (@ZcashFoundation) [March 4, 2025](https://twitter.com/ZcashFoundation/status/1897058450321948980?ref%5Fsrc=twsrc%5Etfw&ref=blog.chainsafe.io)

## Iteration, testing, and community feedback

Throughout development, we worked closely with Zcash Community Grants and the broader Zcash community to test the Snap in real-world conditions. Users ran shielded transactions, verified outputs, and confirmed that privacy was preserved, just with better UX.

After several rounds of feedback, bug fixes, and a full [audit](https://hacken.io/audits/zcash/dapp-zcash-snap-may2025/?ref=blog.chainsafe.io) by Hacken, we finalized the Snap and made it public.

It’s now live and ready for anyone to use.

Try the Snap [here](https://snaps.metamask.io/snap/npm/chainsafe/webzjs-zcash-snap/?ref=blog.chainsafe.io).

[Zcash Shielded WalletCustomize your web3 experience with Zcash Shielded Wallet.![](https://snaps.metamask.io/icons/icon-192x192.png?v=568fd0b854cf6abf842679bfb6cc6fe1)MetaMask Snaps Directory![](https://snaps.metamask.io/static/911ab509b27f9f6e7b6c964a780d3241/banner.png)](https://snaps.metamask.io/snap/npm/chainsafe/webzjs-zcash-snap/?ref=blog.chainsafe.io)

## The community made this possible!

This work wouldn’t have been possible without the support and guidance of Zcash Community Grants and MetaMask Grants DAO.

Their vision for privacy-preserving infrastructure and willingness to push technical boundaries were critical at every step.

At ChainSafe, we believe privacy is a public good. Building tools like the Zcash Snap is part of our broader commitment to accessible, user-owned, and decentralized technology.

We’re proud to have brought shielded ZEC to the browser, and we can’t wait to see what builders do with it next.

---

## About ChainSafe

[ChainSafe](https://chainsafe.io/?utm%5Fmedium=referral&utm%5Fsource=blog&utm%5Fcampaign=ephemery&utm%5Fcontent=aboutus) is a leading blockchain research and development firm specializing in protocol engineering, infrastructure development, co-development and web3-enabled gaming.

Alongside its contributions to major ecosystems such as Ethereum, Polkadot, Filecoin, ChainSafe creates solutions for developers and teams across web3\. 

As part of its mission to build accessible and improved tooling for developers, ChainSafe embodies an open source and community-guided ethos to advance the future of the internet.

[Website](https://chainsafe.io/?ref=blog.chainsafe.io) | [Youtube](https://www.youtube.com/channel/UCpm0lKkxhEKWutbPt1hOgRg?ref=blog.chainsafe.io) | [Twitter](https://twitter.com/chainsafeth?ref=blog.chainsafe.io) | [Linkedin](https://www.linkedin.com/company/chainsafe-systems?ref=blog.chainsafe.io) | [GitHub](https://github.com/ChainSafe/?ref=blog.chainsafe.io)