Since TRON is a protocol, this means there can be multiple independent "networks" conforming to this protocol that do not interact with each other.

Networks are different TRON environments you can access for development, testing, or production use cases. Your TRON account will work across the different networks but your account balance and transaction history won't carry over from the main TRON network. For testing purposes, it's useful to know which networks are available and how to get testnet TRX so you can play around with it.

Public Network

Public networks are accessible to anyone in the world with an internet connection. Anyone can read or create transactions on a public blockchain and validate the transactions being executed.

Mainnet

Mainnet is the primary public TRON production blockchain, where actual-value transactions occur on the distributed ledger. When people and exchanges discuss TRX prices, they're talking about Mainnet TRX.

Mainnet Infrastructure Providers

In addition to TRON Grid's RPC services, you can also use other infrastructure providers' RPC services:

Public Node

The public nodes are stable online mainnet nodes, which can be used as seed nodes in the TRON network for node discovery:

  • 3.225.171.164
  • 52.53.189.99
  • 18.196.99.16
  • 34.253.187.192
  • 18.133.82.227
  • 35.180.51.163
  • 54.252.224.209
  • 52.15.93.92
  • 34.220.77.106
  • 15.207.144.3
  • 13.124.62.58
  • 15.222.19.181
  • 18.209.42.127
  • 3.218.137.187
  • 34.237.210.82
  • 13.228.119.63
  • 18.139.193.235
  • 18.141.79.38
  • 18.139.248.26

The ports of public node:

  • HTTP port : 8090
  • HTTP solidity port : 8091
  • GRPC port: 50051
  • GRPC solidity port : 50061
  • P2P network port: 18888

Testnet

In addition to Mainnet, there are public testnets. These are networks used by protocol developers or smart contract developers to test both protocol upgrades as well as potential smart contracts before deployment to Mainnet.

It’s generally important to test any contract code you write on a testnet before deploying to the Mainnet. TRX on testnets has no real value; therefore, there are no markets for testnet TRX. Anyone can get testnet TRX from faucets.

Shasta Testnet

The parameters of the Shasta testnet are consistent with the mainnet. Currently, the Shasta test network does not support adding new nodes running by anyone.

Nile Testnet

The Nile testnet is used to test new features of TRON, and the code version is generally ahead of the mainnet.

Tronex Testnet

Tronex is mainly used for sun-network testing.

Private Chain network

If the nodes are not connected to the public network (mainnet or testnet), then it is a private network, please refer to the How to build a private chain

Before deploying your TRON Dapp to the mainnet, you can develop and test it on a private network. Similar to deploying a web development environment locally, you can also deploy a private chain locally to test the DAPP. Compared with the public test network , the local private network will provide faster interaction speed.

The related DAPP development tools, please refer to DAPP development tools