Java implementation of the Tron Protocol
TRON is a project dedicated to building the infrastructure for a truly decentralized Internet.
-
Tron Protocol, one of the largest blockchain-based operating systems in the world, offers scalable, high-availability and high-throughput support that underlies all the decentralized applications in the TRON ecosystem.
-
Tron Virtual Machine (TVM) allows anyone to develop decentralized applications (DAPPs) for themselves or their communities with smart contracts thereby making decentralized crowdfunding and token issuance easier than ever.
TRON enables large-scale development and engagement. With over 2000 transactions per second (TPS), high concurrency, low latency, and massive data transmission. It is ideal for building decentralized entertainment applications. Free features and incentive systems allow developers to create premium app experiences for users.
Oracle JDK 1.8
(Other versions are not supported yet)- Support OS:
Linux
OSX
$ git clone https://github.com/tronprotocol/java-tron.git
$ git checkout -t origin/master
$ cd java-tron
$ ./gradlew clean build -x test
After executing the compile command, the FullNode.jar file will be generated in java-tron/build/libs/FullNode.jar
Get the mainnet configurate file: main_net_config.conf, other network configuration files can be find here.
- Running a Full Node for mainnet
$ java -jar FullNode.jar -c main_net_config.conf
- Running a Super Representative Node for mainnet
$ java -jar FullNode.jar -p 650950B193DDDDB35B6E48912DD28F7AB0E7140C1BFDEFD493348F02295BD812 --witness -c main_net_config.conf
Common command line parameters
-c
: specify the configuration file path-p
: specify the private key of the witness.--witness
: enable the witness function
An easier way to build and run java-tron with shell tools: Build & Run by shell script sdfasdfasdfasdf
Tron Developers & SRs is Tron's official Discord channel. Feel free to join this channel if you have any questions.
Core Devs Community is the Telegram channel for java-tron community developers. If you want to contribute to java-tron, please join this channel.
tronprotocol/allcoredev is the official Gitter channel for developers.
If you'd like to contribute to java-tron, please read the following instructions.
- Medium java-tron's official technical articles are published there.
- Documentation java-tron's official technical documentation website.
- Test network A stable test network of TRON contributed by TRON community.
- Tronscan TRON network blockchain browser.
- Wallet-cli TRON network wallet using command line.
- TIP TRON Improvement Proposal (TIP) describes standards for the TRON network.
- TP TRON Protocol (TP) describes standards already implemented in TRON network but not published as a TIP.
java-tron is released under the LGPLv3 license.