# Testnet vs mainnet
Like many other blockchains, XPRNetwork has two chains, the testnet and the mainnet. As you can guess, testnet is a version of XPRNetwork where you can test things. Testnet is a fabulous playground, it allows you to perform the exact same operation as mainnet with a little less power but you will not notice it 🙂.
You should always consider building on testnet before deploying mainnet, it’s the best way to ensure your app can run on lower performance, if it’s run smoothly on testnet, it will be blazingly fast on mainnet.
Switching between mainnet or testnet is made by selecting the node in most cases. For the front-end app using the @proton/web-sdk or @proton/react-native-sdk, you have to specify the chain ID, but we will see this later.
# XPRNetwork Mainnet chain id
384da888112027f0321850a169f737c33e53b388aad48b5adace4bab97f437e0
# XPRNetwork Testnet chain id
71ee83bcf52142d61019d95f9cc5427ba6a0d7ff8accd9e2088ae2abeaf3d3dd