Introduction

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, they replay the mainnet transactions your project cares about — like user interactions with a specific DeFi protocol — letting you reproduce real-world 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.