Skip to Content
Introduction

Introduction

contract.dev offers Stagenets — private EVM testnets that replay mainnet state and come with built-in tools for testing and analysing smart contracts.

When to use a Stagenet

Use a Stagenet when you want to:

  • Test against live production state — liquidity, oracle prices, balances, and yield.
  • Inspect contract and wallet behaviour in dashboards showing transactions, TVL, balances, storage, and more.
  • Move faster with tools such as faucets, account impersonation, state overrides, and scheduled activity.

Standard workflow

Most teams use Stagenets like this:

  1. Create a Stagenet for the production chain you want to test against.
  2. Import your contracts from GitHub or your local Hardhat/Foundry project.
  3. Deploy your contracts to the Stagenet using your existing scripts.
  4. Use built-in tools and analytics to validate behaviour in production-like conditions.

Key features

Think of Stagenets as private, live copies of mainnet enhanced with powerful tooling:

  • Mainnet Replay — Stagenets follow production chain state while preserving changes made by your own transactions.
  • Workspaces — dashboards for contracts and wallets, with activity, balances, TVL, storage, and tracked data.
  • Developer Tools — fund wallets, impersonate accounts, override state, schedule activity, and more.

Stagenets expose a standard Ethereum JSON-RPC endpoint, so they work with your existing tools. Think of them as a drop-in upgrade to ordinary testnets and local forks.

contract.dev also offers a CLI and SDK, so agents, scripts, and tools can interact with Stagenets programmatically.

Get started

Start with the Quickstart to create a Stagenet, deploy contracts, and inspect them in Workspaces.

Last updated on