Architecture

Architecture

ZeroK breaks the on-chain link between deposits and withdrawals using zero-knowledge proofs. Here’s how the pieces fit together.

1
DEPOSIT
Your Wallet
Phantom, Solflare, or any Solana wallet
Note saved locally
Secret Note
Cryptographic key to your deposit
Deposit
Shielded Vault
On-chain Custody + Merkle Tree
Fixed denominations
Poseidon hashing + Groth16 verification
ZK Proof
2
WITHDRAW
zk
ZK Proof Generated
In your browser, ~20 seconds
Proof sent to relay
Protocol Relay
Submits transaction on-chain
Verified on-chain
Recipient Wallet
Any wallet, no gas needed
NO ON-CHAIN LINK
Secrets never leave your device
Groth16 zero-knowledge proofs
No on-chain link between wallets

Key Takeaways

  • Deposit any amount into a fixed-denomination shielded vault using your existing Solana wallet
  • A secret note is generated and saved locally — this is your withdrawal key
  • When ready, your browser generates a ZK proof proving you deposited without revealing which deposit is yours
  • The protocol relay submits the withdrawal transaction and pays all gas fees
  • Funds arrive in a fresh recipient wallet with no on-chain connection to the original deposit