← Education

03 — Crypto & Web3 · Advanced · Deep-dive

Railgun

In brief

  • Railgun is a privacy system that lives inside smart contracts on Ethereum and other EVM chains — not a separate blockchain.
  • You shield tokens into a private balance; from there you can send, swap, and use DeFi while amounts and counterparties stay hidden, proven correct with zero-knowledge proofs.
  • A built-in Proof of Innocence system lets honest users cryptographically show their funds aren't from known illicit sources — privacy without becoming a mixer for criminals.
  • The RAIL token governs the protocol. Corvoza tracks Railgun as core infrastructure for the privacy & sovereign-money thesis.

Public blockchains are radically transparent: every balance and transaction is visible forever, to anyone. That is great for auditability and terrible for privacy — your salary, your trades, and your net worth become a public spreadsheet. Railgun is one of the most credible answers to that problem on Ethereum, and it does something subtle: it adds privacy on top of chains you already use, rather than asking you to move to a new one.

The problem it solves

On a transparent ledger, anyone with your address can see everything you hold and everywhere you've moved it. For individuals that's a surveillance and safety risk; for funds and businesses it leaks strategy — competitors can watch your positions in real time. The naive fix, a "mixer" that pools everyone's coins together, has a fatal flaw: it mixes honest money with stolen money, which gets the whole pool sanctioned and the honest users tainted. The real challenge is privacy that criminals can't hide behind.

How Railgun works

Railgun is a set of smart contracts deployed on existing chains (Ethereum, Polygon, BNB, Arbitrum). Using it has three movements:

  • Shield — you deposit tokens into the Railgun contract. They leave your public address and become a private, encrypted balance only you can see and spend.
  • Transact privately — inside the shielded pool you can transfer or interact with DeFi. Each action is accompanied by a zero-knowledge proof: math that proves the transaction is valid (you own the funds, balances add up) without revealing the amounts or who's involved.
  • Unshield — when you want funds back in the open, you withdraw to a public address.

Because it's just contracts, Railgun inherits the security and liquidity of the host chain instead of bootstrapping a brand-new network.

Private DeFi, not just private transfers

Railgun's more ambitious feature is letting you use DeFi from inside the shield. Through adapter contracts, a shielded balance can swap on a DEX, provide liquidity, or trade — with the privacy layer wrapping the interaction. For a trading desk, that means executing a thesis without broadcasting it to front-runners and copy-traders the moment it touches the chain.

Proof of Innocence

Railgun's answer to the "mixer problem" is Private Proofs of Innocence (PPOI). Before a shielded transaction settles, the user generates a proof that their funds are not drawn from a public list of known hacks and illicit addresses — again, without revealing anything else. Honest users pass invisibly; tainted funds can't get the same clean proof. It's an attempt to thread the needle between genuine privacy and not becoming a laundering tool — a distinction regulators increasingly care about.

The RAIL token

RAIL is the governance token of the Railgun DAO, which controls protocol parameters, the treasury, and shield/unshield fees that can flow back to the community. As with most governance tokens, its value is tied to the usage and durability of the system it steers rather than to any cash flow guarantee.

Why Corvoza watches it

Privacy and sovereign money is one of Corvoza's standing conviction themes. A transparent financial internet eventually demands a privacy layer, and the credible designs are the ones that are compliant by construction rather than openly adversarial. Railgun is a leading expression of that idea on EVM chains — and a practical execution tool for trading without telegraphing intent. As always, the thesis carries its risks below.

Risks

  • Regulatory — privacy tooling sits in a contested legal area; rules differ sharply by jurisdiction and can change fast.
  • Smart-contract risk — bugs in the contracts or proving system could expose or lock funds.
  • Liquidity & anonymity set — privacy is only as strong as the number of users sharing the pool; thin usage weakens it.

Key terms

  • Shield / unshield — moving tokens into and out of the private balance.
  • Zero-knowledge proof — math proving a statement is true while revealing nothing else.
  • Proof of Innocence (PPOI) — proving funds aren't from known illicit sources, privately.
  • Anonymity set — the crowd you blend into; bigger is more private.
  • RAIL — the protocol's governance token.

Next deep-dive — Starknet →


Corvoza Education is general education, not financial, legal, or tax advice. Nothing here is a recommendation to buy or sell any asset. Digital assets are volatile and may result in total loss of capital. Corvoza is operated by Centrent, part of the Trancent world.