Skip to main content

Choose a Network

Every Cardano network runs the same node software and ledger rules, so code you develop against a testnet behaves the same on mainnet. The networks themselves are kept strictly separate: addresses carry a network tag (testnet addresses start with addr_test), so a testnet transaction can never land on mainnet by accident. What differs between them is how fast they run, who can see your activity, and what mistakes cost. Development moves through them in order: devnets and testnets to find things out, mainnet to launch. You never need real ADA to develop; the testnets use test ADA (tAda), which has no value and is free from a faucet.

NetworkWhat it isUse it for
Local devnetPrivate, fully configurable network on your own machineFast iteration, CI, offline work, and conditions the public networks can't provide
PreviewPublic testnet that receives protocol upgrades weeks before mainnetUpcoming features; its 1-day epochs also make staking and reward testing faster
PreprodPublic testnet running mainnet's current protocol and parametersDay-to-day development and final pre-launch validation
MainnetThe production network; transactions spend real ADA and are irreversibleLaunching, after testnet validation

Mainnet produces a block roughly every 20 seconds and the public testnets match it, so they give you real operating conditions: real confirmation times, other participants' transactions in the same blocks, and activity that anyone can inspect. A local devnet trades that realism for control and privacy. You set the block time, epoch length, and protocol parameters, and nothing you do leaves your machine; keep the default parameters and the ledger validates your transactions exactly as the public networks would. Develop on Preprod by default, and move to a local devnet when confirmation times slow your loop. Devnets and the tests that need no chain at all are both covered in Local testing.

Some tools identify networks by number ("network magic") rather than name: Preprod is 1 and Preview is 2, as in cardano-cli's --testnet-magic 1, while mainnet tooling takes --mainnet.

Get test ADA

Request tAda for Preprod or Preview from the Cardano Testnet Faucet: paste your wallet address, click "Request funds", and it arrives within a minute or two. You need a testnet address first, which your wallet or SDK generates (Keys & Wallets). The faucet rate-limits per address and asks that you return unused tAda when a project ends.

A local devnet needs no faucet: you define the starting balances in its genesis configuration, so funds exist the moment the chain starts.

Testnet wallets

Most Cardano browser and mobile wallets support both testnets: switch the network to Preprod or Preview in settings (cardano.org/apps lists them). Hardware devices work through the same browser extensions. When building programmatically, your SDK generates and manages addresses itself (see Choose your tools).

Block explorers

Inspect transactions, addresses, and blocks at explorer.cardano.org, which aggregates the major Cardano explorers and supports deeplinks. Append the network for the testnets: /preprod or /preview.

Next steps