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 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 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.
The public nodes are stable online mainnet nodes, which can be used as seed nodes in the TRON network for node discovery:
The ports of public node：
- HTTP port : 8090
- HTTP solidity port : 8091
- GRPC port: 50051
- GRPC solidity port : 50061
- P2P network port: 18888
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.
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.
- http API: https://api.shasta.trongrid.io
- grpc fullnode API: grpc.shasta.trongrid.io:50051
- grpc solidity API: grpc.shasta.trongrid.io:50061
- json-rpc API: https://api.shasta.trongrid.io/jsonrpc
The Nile testnet is used to test new features of TRON, and the code version is generally ahead of the mainnet.
- Faucet: http://nileex.io/join/getJoinPage
- Browser: https://nile.tronscan.org
- Status: http://nileex.io/status/getStatusPage
- http API: https://api.nileex.io/
- Trongrid http AP: https://nile.trongrid.io/
- grpc API: grpc.nile.trongrid.io:50051
- grpc fullnode API: grpc.nile.trongrid.io:50051
- grpc solidity API: grpc.nile.trongrid.io:50061
- Database backup：http://220.127.116.11
Tronex is mainly used for sun-network testing.
- Website: http://testnet.tronex.io
- Full Node API: https://testhttpapi.tronex.io
- Event API: https://testapi.tronex.io
- Public Fullnode：
- Database backup: http://18.104.22.168
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。
Updated 29 days ago