Introduction
Mockchain is a platform for high-fidelity smart contract testing. At its core is the stagenet, an ultra-realistic private testnet with built-in development tools that replays mainnet blocks. It works like any testnet: connect to it through RPC and interact with it using your usual tools (Hardhat, Foundry, MetaMask, etc.).
Feature Overview
Stagenets mine historical mainnet blocks, just like a real chain. As they do this, they replay select transactions, allowing you to easily reproduce real-world contract activity within your test environment.
Each stagenet also comes with a suite of tools to streamline development:
- Contract CI/CD — a GitHub-linked system that tracks versions/deployments and powers out-of-the-box tools.
- Contract Analytics - rich dashboards that track and analyse contract behaviour.
- Tailored Explorer - an explorer enhanced with your project's context.
- Protocol Simulator - easily reproduce real mainnet behavior of protocols (Uniswap, Aave, etc.) on your stagenet.
- Developer Utilities — ERC20/ETH faucets, request builders, and more.