Skip to main content

Devnet & Testnet Blockchains

While developing blockchain applications, there is a need for development and testing environments that simulate the mainnet without the risk of using real assets. These environments allow developers to test smart contracts, dApps, and other blockchain applications safely.

Table of Contents


What are Devnets and Testnets?

Devnet (Development Network)

  • Purpose: Closely mirrors the mainnet for development and testing
  • Stability: More stable than testnet, resets less frequently
  • Use Case: Primary development environment for most projects

Testnet (Testing Network)

  • Purpose: Used for testing network upgrades and new features
  • Stability: May reset more frequently, less stable than devnet
  • Use Case: Testing upcoming releases and network changes

MultiversX Networks

MultiversX Devnet

Purpose: Primary development environment for MultiversX applications

Features:

  • Closely mirrors mainnet functionality
  • Stable environment for development
  • Regular resets for clean testing
  • Full smart contract support

Access:

Configuration:

mxpy config set proxy https://devnet-gateway.multiversx.com
mxpy config set chainID D

MultiversX Testnet

Purpose: Testing environment for network upgrades and new features

Features:

  • More experimental than devnet
  • Used for testing protocol upgrades
  • May have different features than mainnet
  • Less frequent resets than devnet

Access:

Configuration:

mxpy config set proxy https://testnet-gateway.multiversx.com
mxpy config set chainID T

⚠️ IMPORTANT NOTE

All tokens on devnets and testnets are "fake" tokens. They are only used to mock the real tokens on the mainnet and have no real value. Never send real cryptocurrency to testnet addresses, and never use testnet private keys for mainnet wallets.