Connecting to the TRON network is extremely easy and only requires running 1-2 nodes on a machine. Once you've connected to the network, you have multiple ways of interacting with the nodes based on your system's requirements. When you're fully integrated, please reach out to the TRON team so that we can help you verify your setup.
You'll need to deploy nodes that connect to the network and offer both the ability to read the blockchain state and also to broadcast transactions onto the network.
TRON's network uses a Full Node to read and broadcast to the network. The Full Node stores the entire blockchain state, including unconfirmed blocks and potential forks.
Deploying a linked Solidity Node allows you to interact with blocks that are guaranteed confirmed and irreversible.
Follow this guide to deploy a Full Node and a linked Solidity Node on the same machine.
The nodes support both a gRPC Service and a HTTP Gateway on the ports specified in the configuration files. You can use either method to communicate with the nodes.
gRPC uses Protobuf and the TRON protocol.
The nodes also offer an alternate RESTful HTTP Gateway. Read the HTTP Documentation for examples.
Take a look at the Common Patterns guide for some basic assistance.
Once you've fully integrated with the network, please test on both the test network and the main network.
- Block Explorer: https://TRONscan.org
- Config: https://github.com/TRONprotocol/TRONDeployment/blob/master/main_net_config.conf