Cardano Testnets
Cardano Testnets

Cardano Testnets

ℹ️ Introduction To Cardano Testnets

Cardano maintains a suite of testnet environments that play a critical role in the ongoing development and resilience of its blockchain ecosystem. These environments allow developers, stake pool operators (SPOs), exchanges, and wallet providers to rigorously test their infrastructure, applications, and protocols in settings that closely mirror the production network.
There are two primary testnets in use:
  • Preview Testnet: This environment is designed for early-stage testing, offering a space where developers can engage with upcoming features and release candidates. It's especially suited for DApp teams, SPOs, and exchanges looking to experiment and refine implementations ahead of formal release.
  • Pre-Production Testnet: Intended for late-stage testing, this network closely resembles the Cardano mainnet. It is used by teams preparing for imminent deployment, enabling them to validate smart contract functionality, wallet integrations, and transaction flows in a near-production setting.
These testnets provide a vital buffer between innovation and production, reducing risk and increasing reliability across the ecosystem. For real-world usage, developers and users transition to the Cardano Mainnet, which hosts all officially released features and supports live transactions.
Cardano’s testnet infrastructure exemplifies its methodical approach to development, allowing the community to contribute to and benefit from a robust, transparent testing process.

Creating a Local testnet on Cardano

Creating a local testnet is a powerful option for developers building on Cardano who want full control over their testing environment. Unlike public testnets like Preview and Pre-Production, which serve the broader ecosystem, a local testnet allows for highly customizable setups — including simulating hard forks and evaluating specific DApp behaviors in isolated conditions.
There are two primary approaches for setting up a local testnet:
1. Using Plutip
Plutip is a tool designed specifically for running Plutus contracts in private network environments. It provides several flexible pathways:
  • Use the standard Plutip setup to quickly spin up a private network with pre-funded wallets — ideal for straightforward contract testing.
  • Use a dedicated branch of Plutip that supports hard fork simulation, giving developers the ability to test contract behavior during and after protocol upgrades.
  • Integrate Plutip with cardano-transaction-lib to create local test suites using a declarative interface — perfect for automated testing workflows.
These approaches are supported by tutorials developed by the MLabs team, who actively maintain and contribute to Plutip’s development.
2. Using Nix
Nix is another option, offering a more general and configurable method to deploy a local Cardano testnet. It’s ideal for teams that want to deeply customize their environment, including the specific node and network configurations. Nix also brings advantages in reproducibility and dependency management, aligning well with Cardano’s Haskell-based tooling.
Both methods allow developers to simulate mainnet-like conditions, stress-test new features, and iterate with precision — all without exposing work-in-progress to the broader network. This makes local testnets an essential part of the Cardano development toolkit.

🏗️ Available Cardano Testnets