Privacy and shielded transactions on Base via Veil Cash (veil.cash). Deposit ETH or USDC into private pools, withdraw/transfer privately using ZK proofs. Manage Veil keypairs, check private/queue balances across all pools, and submit deposits via Bankr. Use when the user wants anonymous or private transactions, shielded transfers, or ZK-based privacy on Base.
This skill wraps the @veil-cash/sdk CLI to make Veil operations agent-friendly.
| Asset | Decimals | Description |
|---|---|---|
| ETH | 18 | Native ETH (via WETH) |
| USDC | 6 | USDC on Base |
veil balance (queue + private) — supports --pool eth|usdcwithdraw, transfer, merge for ETH or USDC — executed locally using (ZK/proof flow)VEIL_KEY~/.clawdbot/skills/veil/.env.veil (chmod 600)~/.clawdbot/skills/bankr/config.jsonOption A: Global npm install (recommended)
npm install -g @veil-cash/sdk
Option B: Clone from GitHub
mkdir -p ~/.openclaw/workspace/repos
cd ~/.openclaw/workspace/repos
git clone https://github.com/veildotcash/veildotcash-sdk.git
cd veildotcash-sdk
npm ci && npm run build
Veil queries a lot of blockchain data (UTXOs, merkle proofs, etc.), so public RPCs will likely hit rate limits. A dedicated RPC from Alchemy, Infura, or similar is recommended.
Put RPC_URL=... in one of these:
~/.clawdbot/skills/veil/.env (preferred).env (less ideal)Example:
mkdir -p ~/.clawdbot/skills/veil
cat > ~/.clawdbot/skills/veil/.env << 'EOF'
RPC_URL=https://base-mainnet.g.alchemy.com/v2/YOUR_KEY
EOF
chmod 600 ~/.clawdbot/skills/veil/.env
chmod +x scripts/*.sh
scripts/veil-init.sh
scripts/veil-keypair.sh
scripts/veil-status.sh
scripts/veil-bankr-prompt.sh "What is my Base wallet address? Respond with just the address."
# ETH pool (default)
scripts/veil-balance.sh --address 0xYOUR_BANKR_ADDRESS
# USDC pool
scripts/veil-balance.sh --address 0xYOUR_BANKR_ADDRESS --pool usdc
# Deposit ETH
scripts/veil-deposit-via-bankr.sh ETH 0.011 --address 0xYOUR_BANKR_ADDRESS
# Deposit USDC (auto-handles approve + deposit)
scripts/veil-deposit-via-bankr.sh USDC 100 --address 0xYOUR_BANKR_ADDRESS
scripts/veil-withdraw.sh ETH 0.007 0xYOUR_BANKR_ADDRESS
scripts/veil-withdraw.sh USDC 50 0xRECIPIENT
scripts/veil-transfer.sh ETH 0.01 0xRECIPIENT
scripts/veil-transfer.sh USDC 25 0xRECIPIENT
scripts/veil-merge.sh ETH 0.1
scripts/veil-merge.sh USDC 100
~/.clawdbot/skills/bankr/config.json..env.veil or .env files to git.