Veil - Private Transactions on Base
Privacy and shielded transactions on Base via Veil Cash. Deposit ETH into a private pool, withdraw/transfer privately using ZK proofs.
How It Works
- •Deposit - Send ETH to private pool (public → private)
- •Transfer - Move funds privately (private → private)
- •Withdraw - Exit to public address (private → public)
All private operations use ZK proofs - no one can link your deposits to withdrawals.
Commands
Setup
code
/veil init Initialize Veil keypair /veil status Check config and relay health
Balance
code
/veil balance Check all balances /veil queue Check queue balance (pending deposits) /veil private Check private balance
Operations
code
/veil deposit <amount> Deposit ETH to private pool /veil withdraw <amount> <address> Withdraw to public address /veil transfer <amount> <veil-key> Private transfer to another user /veil merge Merge UTXOs (consolidate)
Examples
code
/veil init /veil balance /veil deposit 0.1 /veil withdraw 0.05 0x1234...
Security Notes
- •Never share your VEIL_KEY - it controls your private funds
- •Store keypair securely (chmod 600)
- •Use dedicated RPC to avoid rate limits
Setup
bash
# Initialize creates keypair /veil init # Or manually set: export VEIL_KEY="..." # Your Veil private key export PRIVATE_KEY="0x..." # For deposits (public tx)
Requirements
- •ETH on Base for deposits and gas
- •Node.js for ZK proof generation
- •Veil SDK:
npm install -g @veil-cash/sdk