Swap STRK β ZEC with privacy, atomic guarantees, and zero trust assumptions.
ShadowSwap combines the privacy of Zcash with the scalability of Starknet to deliver private, non-custodial, atomic cross-chain swaps.
Todayβs swaps are:
- β Public
- β Traceable
- β Custodial
- β Limited to Ethereum-like chains
ShadowSwap fixes this by bridging two powerful ecosystems:
- π Starknet β scalable ZK-Rollup
- π‘ Zcash β industry-leading privacy chain
ShadowSwap enables private, atomic, cross-chain swaps using:
- HTLCs
- Stealth addresses
- Commitments
- Range proofs
- Merkle tree inclusion
- Automated relayer orchestration
- Includes secret hash
- Private commitment
- Timeout
- Verifies Merkle inclusion
- Generates stealth parameters
- Creates matching HTLC on Zcash
Reveals the secret.
HTLC unlocks β STRK released.
Both sides are safe.
- Shielded addresses (Sapling/Orchard)
- Encrypted metadata
- Commitments + nullifiers
- No public link between sender β receiver
- HTLCs on both chains
- Refund guarantees
- Fully non-custodial
- Observes Starknet & Zcash
- Handles redemptions
- Auto-refunds
- Retry + backoff logic
- Detailed event logging
- Tracks Starknet deposits
- Creates Merkle proofs
- Syncs with on-chain Merkle root
- STRK/ZEC/USD pricing
- Multi-source aggregation
- Route through Fast/Standard pools
flowchart LR
U[User Wallet] -->|Lock STRK in HTLC| S(Starknet)
S -->|Deposit Event| R(Relayer)
R -->|Merkle Proof + Stealth Params| R
R -->|Deploy HTLC| Z(Zcash)
U -->|Redeem ZEC HTLC| Z
Z -->|Reveal Secret| R
R -->|Redeem STRK HTLC| S
- π¦ Rust
- β‘ Actix Web
- π Asynchronous Relayer Engine
- β HTLCs (Hashed Timelock Contracts)
- π΅οΈ Stealth Addresses
- π Range Proofs
- π§± Commitments & Nullifiers
- π² Merkle Trees
- βοΈ ZK-Friendly Hash Primitives
- β Starknet (Cairo 1)
- π‘ Zcash (Sapling / Orchard Shielded Pools)
Create a cross-chain swap (STRK β ZEC or ZEC β STRK).
The indexer sends Starknet/Zcash HTLC events to the backend.
Returns real-time STRK β ZEC β USD pricing.
Displays global protocol statistics:
- swap volume
- liquidity usage
- completed vs pending swaps
Prometheus metrics endpoint for relayer + backend monitoring.
Mist Labs
- GitHub: @OkoliEvans
- GitHub: @Goodness5