Privacy layer

From jiayaoqijia/cryptoskill · View interactive version

Privacy layer is an AI agent skill from the GitHub repository jiayaoqijia/cryptoskill. Privacy-preserving operations for crypto agents. Covers ZK-SNARK private transfers via Railgun Protocol, shielded balances, network egress monitoring, and confidential transaction patterns. Use when asked about private transfers, shielded transactions, or agent privacy.

How to use this skill

Skill file

Privacy Layer

Privacy-preserving operations for AI agents handling sensitive financial data.

ZK-SNARK Private Transfers (Railgun Protocol)

Railgun enables fully private ERC-20 transfers using ZK-SNARKs on Ethereum. Three core operations:

Shield (Public → Private)

Move tokens from a public address into the Railgun privacy pool:

Private Transfer (Private → Private)

Transfer tokens within the privacy pool:

Unshield (Private → Public)

Withdraw tokens from the privacy pool to a public address:

Railgun Contract Addresses

| Network | Contract | Address |

|---------|----------|---------|

| Ethereum | Relay Adapt | 0xc3f2C8F9d5F0705De706b1302B7a039e1e11aC88 |

| Arbitrum | Relay Adapt | 0x5aD95C537b002770a39dea342c4bb2b68B1497aA |

| Polygon | Relay Adapt | 0xc7FfA542736321A3dd69246d73987566a5486968 |

| BSC | Relay Adapt | 0x19B620929f97b7b990801496c3b361CA5bbC8E71 |

Network Egress Monitoring

Monitor all outbound connections from the agent to detect data leaks:

Agent Privacy Architecture

1. Secret Isolation

2. LLM Security Fence

3. Private Inference

4. On-Chain Privacy

Privacy Checklist for Agents

| Risk | Mitigation |

|------|------------|

| LLM sees private key | ClawWall DLP + system prompt fence |

| LLM provider stores queries | Venice (zero retention) or local Ollama |

| On-chain activity traced | Railgun shielded transfers |

| Network connections leak data | Egress monitoring + allowlist |

| Config files exposed | 0600/0700 permissions, fail-loud validation |

| Agent overshares in chat | Domain constraint — blockchain-only access |

Usage Tips

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.