TECHDOCS

Multi-asset vault, privacy primitives, and the boundary between demo and production.

OVERVIEW

The multi-asset vault

Interactive prototype โ€” not a deployed protocol

No real wallet connection, deposits, payouts, proof generation, or lending takes place. Balances and transaction records exist only in this browser session and reset on refresh. Do not send real funds.

ShieldSwap now explores a wider private-money experience, rather than only converting assets into Zcash. The demo portfolio includes SOL, USDC, USDT, ZEC, ETH and BTC. These are sample assets, not a claim that every token or network is supported in production.

  • Shield and receive: add sample assets to a demo vault. Receive identifiers are deliberately not blockchain payment addresses.
  • Send and withdraw: model an internal transfer or an external exit. Both update only the local demo ledger.
  • Swap: convert between any two of the six sample assets, not just into ZEC.
  • Earn: simulate supplying and redeeming SOL, USDC or ZEC. No interest accrues.

ZCASH

Different chains. Different privacy.

Zcash has native shielded transactions. Bitcoin, Ethereum and ordinary Solana transfers do not gain that protection simply by appearing in a private-looking interface.

Zcash transparent addresses reveal transaction information. Sapling uses shielded notes with Groth16 proofs; Orchard uses Halo 2 on the Pasta curves without a trusted setup ceremony. Shielded transfers protect recipient information and shielded values, subject to transaction structure and entry/exit metadata.

A multi-asset vault is a separate protocol

Orchard holds ZEC, not arbitrary BTC, ETH or SPL tokens. A real multi-asset product requires audited chain-specific privacy contracts, bridging or wrapping where applicable, liquidity adapters, and clear custody and trust assumptions.

ZKP

What a proof must establish

A zero-knowledge proof can establish the validity of a private transaction without publishing its underlying secrets. A real note-based vault needs proofs of ownership, membership in a commitment tree, conservation of value, and correct output construction.

  • Commitments: represent notes without exposing their contents.
  • Merkle paths: demonstrate that a spendable note exists in the pool.
  • Nullifiers: prevent a note being spent twice without directly revealing which commitment it belongs to.
  • Encrypted outputs: allow intended recipients to discover and spend their new notes.

The verifier, circuits, key management and transaction adapters must be designed and reviewed together. This prototype implements none of those cryptographic operations.

ADDRESSES

Addresses & key custody

Zcash unified addresses, typically beginning u1, can contain receivers for different pools. A prefix alone does not prove that an address has a valid checksum or an Orchard receiver. Sapling addresses beginning zs1 are not Orchard addresses.

The demo uses identifiers such as demo:shieldswap:my-vault:sol. These cannot receive funds. Send and withdraw fields accept demo identifiers and perform no network-specific address validation.

A production vault would need local encrypted spending keys, safe recovery, validated destination receivers and carefully scoped viewing keys. ShieldSwap does not generate keys, encrypt a real vault or request seed phrases in this prototype.

PIPELINE

The demo transaction pipeline

1. Choose: select an operation and sample asset. Swap outputs can be any different asset in the portfolio.

2. Validate: check that amounts are finite and positive, and that spending does not exceed the available demo balance.

3. Update: change the local balances. Swaps use fixed USD sample prices with a 0.5% simulated fee.

4. Record: show a demo result and a local activity entry. No transaction is submitted to a chain.

Sample prices: BTC $98,000; ETH $3,600; SOL $180; ZEC $52; USDC and USDT $1. These are not current market quotes. Cross-chain execution is simulated, not atomic settlement.

MODES

Privacy boundaries

Hiding an amount on a screen does not hide it on-chain. This demo's balance visibility control is only visual; its local state is accessible to the browser.

Even a real shielded system can expose entry and exit transactions, timing, public amounts, network metadata and interactions with public liquidity. A delay, split payout or fresh address may reduce correlation in some circumstances, but cannot guarantee unlinkability.

Veil, the product reference, describes a Solana note-based vault with private transfers, swaps and lending. It is not a universal multi-chain privacy bridge, and its contracts or audit status do not apply to ShieldSwap.

SECURITY

Security & risk model

  • No real funds, wallet signatures, recovery phrases or spending keys are involved in this demo.
  • No production audit or deployed ShieldSwap privacy protocol is claimed.
  • A production service needs independent review of contracts, proof circuits, browser key custody, relayers, indexers and integrations.
  • Relayers can observe network metadata; private settlement does not inherently hide your IP address.
  • Bridges, upgrade authorities, wrapped assets, lending liquidity and public DeFi integrations introduce additional trust and loss risks.

Lending is a concept, not an offer

The 4.8% USDC, 3.2% SOL and 2.1% ZEC sample APYs are illustrative. There are no live pools, no promised returns, and no actual interest accrual. Supplying simply moves a demo balance into a demo position; redeeming moves it back.

LIMITS

Before real funds

The prototype is suitable for evaluating the experience, not for handling money. Making it real requires a separately defined protocol and deployment scope.

  • Choose supported chains, tokens, wallets and the custody model.
  • Integrate or build audited privacy infrastructure and wallet key management.
  • Add real liquidity quotes, slippage controls, fees, chain confirmations and deposit monitoring.
  • Implement validated addresses, failure recovery, refunds and network-specific transaction tracking.
  • Review relayer/indexer trust, upgrade permissions, lending adapters and legal requirements.

Until then, all balances, identifiers, positions and results shown in ShieldSwap remain simulations.