The Problem
Web3 has a fundamental gap in its development lifecycle. Code goes from audit to mainnet with nothing in between — and the industry pays for it.
Projects go from $0 to $5M TVL overnight after an audit. Bug bounties don't attract serious testing.
The industry loses billions to preventable exploits.
Web3 Today
Dev
→Testnet
→Mainnet
Testnet uses fake money. Bugs are discovered after millions are at risk.
With BattleChain
Dev
→Testnet
→BattleChain
→Mainnet
Real funds, controlled risk. Bugs are found before they matter.
How It Works
BattleChain is a pre-mainnet, post-testnet environment with real funds. Protocols deploy audited contracts, whitehats legally attack them for bounties, and battle-tested contracts promote to mainnet with confidence.
1
Audit
Get your contracts reviewed
2
Deploy
Deploy contracts to BattleChain
3
Stress Test
Whitehats attack under Safe Harbor
4
Promote
DAO approves battle-tested contracts
5
Mainnet
Ship with confidence
Every contract on BattleChain exists in one of two modes:
Attack Mode
Open season for ethical hacking. Whitehats can legally exploit vulnerabilities, earn bounties, and operate under Safe Harbor protection. Protocols learn about weaknesses before they matter.
Production Mode
Protected like mainnet. No Safe Harbor coverage for attacks — same security expectations apply. Contracts typically reach this state once battle-tested and DAO-promoted.
Why an L2?
BattleChain runs as a ZKSync-based L2 to keep attacks isolated from mainnet liquidity, track contract states at the protocol level, and keep deployment costs low. It's purpose-built for this workflow — not a repurposed testnet.
Choose Your Path
BattleChain serves three roles — jump to your starting point:
Learn More
Build with AI
BattleChain is designed for AI-assisted development. Deploy contracts, create agreements, and run attacks — all through your AI coding tool. Start with Using BattleChain with AI — install the skill, connect the MCP server, or point any agent at the machine-readable docs.
One-Prompt Demo
Run the full security demo with zero coding in Claude Code or Claude Desktop — Claude does everything
Deploy and Battle-Test
Deploy a vulnerable vault and open it for attack — with AI or manually
Configure Your AI Tools
Add BattleChain context to Claude Code, Cursor, Copilot, and other AI tools
BattleChain Mainnet (chain ID 626) and BattleChain Testnet (chain ID 627) are both live. The tutorials and quickstarts in these docs use the testnet, which has free test ETH and mock dependency contracts. Both networks have a block explorer and contract verification.