Tron Node / DONE
Last updated
Last updated
The documentation is described for installation on a pure VDS without any third-party software or other programmes, please take this into account when installing.
Install the necessary packages:
Install Docker according to the official documentation
Clone the repository with the docker image:
Go to the directory with the project
Create a configuration file and set the required contract addresses and event tops: (not obligatory, but recommended so as not to process unnecessary transactions).
configuration example for processing only USDT events
Create a folder for this node
Download Lite version of node data from open source) ()
Unzip the archive (folderoutput-directory)
в ~/docker-java-tron/data/node/
Delete the archive with the Lite data
Now our Tron node is ready to go live
Go to the project directory:
Launch Tron node
You have to go into the configuration:
Add another address to the EVENT_PLUGIN_ADDRESS_FILTER
block by separating the contract addresses with a comma character , and do not use line breaks or spaces between addresses.
USDT + USDC Example:
By default we have set 5 days of data storage which you can synchronise
If you want to change this parameter you need to add a different number of days to your configuration
You have to go into the configuration
Add a line with your value:
Create proxy from ports
- localhost:8080 to port 2080 for EventServer
- localhost:18090 to port 2090 for fullNode
- localhost:18091 to port 2091 for solidityNode
EventServer: http://ip.host:2080
Node: http://ip.host:2090
Solidity: http://ip.host:2091
Rebuild docker and restart the node:
Installing caddy
Update the version in the .env file