sip-protocol / sip-protocol/sip-protocol

[M19-IMPL-04] Zcash shielded pool integration

Open
#829 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

critical M19-IMPL zcash
Dominant language
TypeScript
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Description

Integrate with Zcash shielded pools for full cross-chain privacy.

Why Zcash?

  • Battle-tested: 8+ years of shielded transactions
  • Full Privacy: Sender, amount, recipient all hidden
  • Halo2: Proof system for composition research

Tasks

  • Set up Zcash RPC client (zcashd/zebrad)
  • Implement shielded deposit (t-addr → z-addr)
  • Implement shielded withdrawal (z-addr → t-addr)
  • Handle viewing key export/import
  • Test on Zcash testnet

Integration Architecture

┌─────────────────┐     ┌─────────────────┐     ┌─────────────────┐
│   Solana/ETH    │────▶│  Zcash Shielded │────▶│   NEAR/Other    │
│   (SIP stealth) │     │     Pool        │     │   (SIP stealth) │
└─────────────────┘     └─────────────────┘     └─────────────────┘
        │                       │                       │
        ▼                       ▼                       ▼
   Stealth addr          Full shielded            Stealth addr
   + commitment         (t→z→z→t route)          + commitment

Zcash RPC Methods

// Deposit to shielded
await zcash.z_sendmany(tAddr, [{
  address: zAddr,
  amount: 1.0,
  memo: encryptedMetadata
}])

// Withdraw from shielded
await zcash.z_sendmany(zAddr, [{
  address: destTAddr,
  amount: 0.99
}])

Acceptance Criteria

  • Shielded deposits work
  • Shielded withdrawals work
  • Viewing keys sync correctly
  • Testnet E2E test passes

Parent

  • Epic: #825

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the Zcash RPC methods and the integration architecture described in the issue, then identify the project entry points for the TypeScript RPC client. Work through shielded deposits, withdrawals, viewing-key synchronization, and Zcash testnet coverage. Done means deposits and withdrawals work, viewing keys sync correctly, and the testnet end-to-end test passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain, cryptography
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.