Skip to content
S

Shielded Genesis

Private Zcash, Visible to You - Instantly

Created on 4th December 2025

•

S

Shielded Genesis

Private Zcash, Visible to You - Instantly

The problem Shielded Genesis solves

The Problem:

Most Zcash users with shielded balances face a major usability barrier:
-Running a full node requires 12+ hours of sync time, hundreds of GB of storage, and continuous computation.
-Without a full node, users cannot view their own shielded transaction history.
-This makes shielded ZEC nearly unusable on mobile devices, limiting real-world adoption.

As a result, even privacy-conscious users cannot easily verify received funds, read memos, or audit their activity without heavy infrastructure.

" What the Zcash Shielded Transaction Explorer Solves "

The Zcash Shielded Transaction Explorer enables users to view and audit their shielded transactions instantly, without trusting any server and without running a full node.

------Key Features------

  1. Zero-Trust, Client-Side Architecture

Entirely browser-based: no viewing keys or decrypted data ever leave the device.

Built using:
React + TypeScript frontend
Rust-based WebAssembly decryption engine
All trial decryption happens locally inside the browser sandbox.

  1. High-Performance Decryption

WebGPU-accelerated parallel trial decryption
Up to 100x faster than CPU scanning.
Enables sub-second balance refresh even for multi-year histories.
Currently under active optimization for even faster scanning.
Web Worker multithreading fallback for universal support on mobile devices.

  1. Lightweight Server Layer
    Server only provides encrypted note metadata.
    No sensitive data is uploaded or linked to any user.
    Upcoming: Merkle-based filtering to further reduce bandwidth.

  2. Instant, Private Shielded Transaction Visibility,

a)Local-Only Key Handling,
-Users enter their Unified Full Viewing Key (UFVK) locally.
-Keys never leave the device or touch any server.

b)Local Trial Decryption,
-Browser derives decryption keys on-device.
-Parallel trial decryption identifies owned notes.
-Reveals:
i)Amounts
ii)Memos
iii)Timestamps
iv)Spending status
-Real-time balance and activity view is updated instantly.

c)Secure On-Device Storage
-Decrypted notes stored with AES-256 encryption via WebCrypto.
-Cached in IndexedDB for offline-capable access.

  1. Privacy & Security by Design

-No viewing keys, decrypted notes, or identity metadata ever leave the device.
-UFVKs are read-only, ensuring zero spending risk even if compromised.
-PWA mode allows offline operation without recurring server contact.
-Memory is explicitly zeroed after cryptographic operations.

  1. Benefits for Users, Merchants, Auditors, and Developers

For Users,
-Instant access to shielded transaction history without running a node.
-Full privacy preserved with zero server trust.

For Merchants,
-Verify shielded ZEC payments in real-time on mobile devices.

For Auditors / Accountants
-Perform financial verification while preserving Zcash’s zero-knowledge privacy guarantees.

For Developers,
-Debug and prototype shielded workflows without deploying full-node infrastructure.

Impact,
-This Explorer transforms shielded Zcash from a high-friction, infrastructure-heavy technology into a practical, easy-to-use, mobile-friendly system that finally bridges privacy and usability.

Challenges we ran into

Challenges Encountered

  1. Bridging GPU Acceleration Across Heterogeneous Devices

The Challenge:
Building a high-performance decryption engine required GPU parallelism for scanning thousands of shielded outputs.

However:
-WebGPU support was inconsistent across browsers and completely absent on mobile during development.
-Desktop browsers varied widely in GPU capabilities.
-Older devices needed a reliable fallback without breaking performance expectations.

Solution

To ensure consistent functionality across all devices, the system implemented:

-Dual-path architecture:
i)WebGPU-accelerated SPMD trial decryption for capable desktop browsers.
ii)CPU-based multithreaded Web Worker fallback for universal mobile support.

-Runtime capability detection:
Automatic switching between GPU and CPU paths without user intervention.

-Safe memory handling:
Preventing GPU buffer allocation on unsupported devices to avoid failures or degraded performance.

-Cross-device performance validation:
Extensive testing on iPhone 12, Samsung S20, MacBook M1, and various Windows laptops to maintain sub-second balance refresh.

This architecture captured the performance benefits of GPU acceleration while preserving full compatibility on constrained hardware.

  1. Designing Privacy-Preserving Metadata Indexing Without Identity Leakage
    The Challenge

-A server layer was necessary to provide filtered shielded note metadata, but it could not:
i)Expose any wallet-identifying information.
ii)Correlate multiple queries to the same user.
iii)Require clients to download entire blocks like a full node.
iv)Allow traffic observers to infer identity from query patterns.

Solution
A privacy-first server architecture was developed:

-Stateless metadata aggregator:
A lightweight Node.js service querying multiple Zcash full nodes (zcashd/zebra), pooling results, and building a compact index of commitments and nullifiers.

-Merkle-hint filtering:
The server returns only encrypted outputs matching a Merkle path prefix, reducing bandwidth by ~70% without revealing which outputs belong to the user.

-Zero client state on the server:
All requests appear identical and contain no UFVK-specific data.

-Adversarial testing:
Scenarios validated that neither timing, frequency, nor request shape could reveal wallet identity or usage patterns.

This ensured metadata delivery remained efficient while preserving the zero-knowledge privacy properties central to Zcash.

  1. Ensuring Cryptographic Correctness Within Browser Sandboxing and WebAssembly Constraints

The Challenge
Sensitive cryptographic operations had to run inside a JavaScript + WebAssembly environment that provides weaker memory-safety guarantees than native Rust:
i)Viewing keys passed through the Rust→WASM boundary had to remain isolated.
ii)Browser memory does not guarantee immediate zeroing after free().
iii)Mobile memory pressure and lifecycle events risked leaking decrypted data.
iv)WebAssembly linear memory meant all buffers shared a single address space, increasing risk of overruns.

Solution

A hardened in-browser cryptographic pipeline was implemented:

-SecureBuffer abstraction:
All WASM-returned buffers wrapped with explicit zeroing on drop.

-Pinned memory regions:
Preventing garbage collection from moving or exposing sensitive buffers mid-operation.

-Explicit zeroing of temporary data:
Using TypedArray operations and libsodium-style memzero semantics.

-Rust-side fuzzing and memory validation:
Comprehensive analysis using tools like Valgrind prior to WASM compilation.

-External audit of the final WASM module:
Ensuring no side-channel vulnerabilities remained in trial decryption routines.

These measures allowed privacy-preserving cryptography to operate safely in the browser while maintaining the security guarantees expected from shielded Zcash.

Tracks Applied (1)

Zcash Data & Analytics

This project fits into the Gemini Zcash Data & Analytics track by enabling high-performance, privacy-preserving analysis...Read More
Gemini

Gemini

Discussion

Builders also viewed

See more projects on Devfolio