# RAIL20 **Zero-knowledge private payments on Base, Robinhood Chain, Arbitrum, and BNB Smart Chain.** RAIL20 is a zero-knowledge privacy layer for tokens on Base (chain 8453), Robinhood Chain (chain 4663, an Arbitrum Orbit L2), and Arbitrum (chain 42161). Users shield tokens into a per-token anonymity pool, transact privately using Groth16 zero-knowledge proofs, and unshield back to a public address whenever they want. RAIL20 pools are ERC-20-compatible, so adding a new pool - a different token, or the same design on a new EVM chain - is a configuration change (token address, decimals, symbol) with no contract, proof, or relayer changes. Live today: native ETH + USDC on Base, native ETH + USDG (Global Dollar) on Robinhood Chain, native ETH + USDC on Arbitrum. - **Live on Base, Robinhood Chain, Arbitrum, and BNB Smart Chain.** Contracts deployed and operational on all three. - **Privacy by default, transparency on demand.** Users keep selective-disclosure keys and can prove non-association with sanctioned addresses. - **Built on audited primitives.** Groth16 / BN254 / Poseidon - all standard, no novel cryptography. - **Staking and governance.** Stake $RAIL20 to earn a share of protocol fees (paid in ETH) and vote on protocol changes. ## Quick Links | Resource | Where | |---|---| | App | https://app.rail20.org | | Staking dApp | https://staking.rail20.org | | Docs site | https://docs.rail20.org | | Twitter | https://x.com/rail20 | | Verified contracts | [Basescan](https://basescan.org/address/0x764FF96EabEeF2b197f845dD8D39441Ac68FDE11) | ## What's in this Repo Public technical reference and integration documentation. The implementation source - contracts, circuits, backend, frontend - is maintained privately while the protocol stabilizes. ``` docs/ ├── architecture.md System design, ZK circuit, data flow ├── contracts.md Deployed addresses, interfaces, verification ├── integration.md How to integrate RAIL20 from another protocol ├── compliance.md Compliance posture and selective-disclosure model └── faq.md Common questions ``` ## How RAIL20 Works (60-second version) 1. **Shield** - deposit an ERC-20 into its token pool. Receive a private note only you can spend. 2. **Send privately** - transfer notes between shielded addresses with sender, recipient, and amount hidden. 3. **Swap privately** - swap ETH into the chain's private stablecoin (USDC on Base, USDG on Robinhood, USDC on Arbitrum) or vice versa, through a one-time burner wallet and an on-chain DEX (Uniswap V3); the output is re-shielded so it stays private. 4. **Bridge privately** - send value from your private balance to a recipient on another chain (between pool chains Base, Robinhood, and Arbitrum, plus out to Ethereum and BNB Chain). 5. **Unshield** - withdraw to any public address. Use a fresh address to break linkability. Every step is gated by a zk proof the relayer builds from the user's signature. Nothing leaves the browser unencrypted, and the on-chain record reveals only commitments and nullifiers - no balances, no recipients, no amounts. ## How Staking & Governance Works Staking and governance run on Robinhood Chain (4663). 1. **Stake** - lock $RAIL20 into individual stake positions. Each stake earns a share of protocol fees (paid in ETH) and grants voting power at each daily snapshot. 2. **Earn** - fees collected from private operations (send, swap, bridge) accrue to the treasury and are distributed to stakers by voting-power share, in ETH. No token emission, no burn. 3. **Govern** - stakers submit proposals, gather sponsorship (500,000 $RAIL20 within 30 days), then the community votes (quorum 2,000,000). Passed proposals execute on-chain through the governance delegator. 4. **Unlock** - unlocking a stake starts a 30-day cooldown during which it stops earning and loses voting power; after cooldown you claim it back to your wallet. Ownership chain: Treasury, ProxyAdmin, and GovernorRewards are controlled by the Delegator, which is owned by the Voting contract, so every privileged action runs only through a passed governance proposal. Addresses are listed in [docs/contracts.md](docs/contracts.md#staking--governance-robinhood-chain-4663). ## Status - Mainnet: live - Audits: external review pending; RAIL20 is built on standard audited primitives for ZK verification (Groth16), Poseidon hashing, and the Merkle commitment tree over BN254 - Bug bounty: contact via Twitter DM ## License Documentation in this repo is released under [MIT](LICENSE).