tron-java

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
Skill based on java-tron (TRON Protocol Java implementation), generated 2026-02-09.
java-tron is the Java node for the TRON blockchain: high-throughput, DPoS, EVM-compatible TVM. This skill covers building/running FullNode and SR, HTTP/gRPC/JSON-RPC APIs, modular architecture (framework, protocol, common, chainbase, consensus, actuator), and implementing custom transaction types via actuators.
基于java-tron(TRON Protocol的Java实现)的技能,生成于2026-02-09。
java-tron是波场区块链的Java节点:具备高吞吐量、DPoS机制、兼容EVM的TVM。本技能涵盖FullNode和SR的构建/运行、HTTP/gRPC/JSON-RPC API、模块化架构(framework、protocol、common、chainbase、consensus、actuator),以及通过执行器实现自定义交易类型。

Core References

核心参考

TopicDescriptionReference
OverviewWhat java-tron is, artifacts (FullNode.jar, Toolkit.jar), networks (Mainnet, Nile, Shasta, private)core-overview
Build and RunBuild from source (Gradle), run FullNode/SR, config, hardware requirements, dependency (JitPack/Maven)core-build-run
APIsHTTP, gRPC, JSON-RPC configuration and portscore-apis
Configconfig.conf structure — net, storage, node (P2P, HTTP, gRPC, JSON-RPC), localwitness, seed nodes, tuningcore-config
主题描述参考链接
概述java-tron是什么、相关产物(FullNode.jar、Toolkit.jar)、网络(主网、Nile测试网、Shasta测试网、私有网络)core-overview
构建与运行从源码构建(Gradle)、运行FullNode/SR、配置、硬件要求、依赖(JitPack/Maven)core-build-run
APIHTTP、gRPC、JSON-RPC的配置与端口core-apis
配置config.conf结构——网络、存储、节点(P2P、HTTP、gRPC、JSON-RPC)、本地见证人、种子节点、调优core-config

Features

功能特性

Modularization

模块化

TopicDescriptionReference
Modular ArchitectureSix modules (framework, protocol, common, chainbase, consensus, actuator) and key interfacesfeatures-modular-architecture
Modular DeploymentDistribution script launch, JVM optionsfeatures-modular-deployment
Custom ActuatorAdd new contract type: proto, ContractType, Actuator impl, WalletApifeatures-custom-actuator
ToolkitToolkit.jar — DB archive, convert, copy, lite (split/merge), move, rootfeatures-toolkit
start.shRun/stop FullNode, config/data paths, build or release, manifest rebuildfeatures-start-script
DockerBuild and run with Docker — image, config/data mounts, SR mode, JVM optionsfeatures-docker
主题描述参考链接
模块化架构六大模块(framework、protocol、common、chainbase、consensus、actuator)及核心接口features-modular-architecture
模块化部署分发脚本启动、JVM选项features-modular-deployment
自定义执行器添加新合约类型:proto、ContractType、Actuator实现、WalletApifeatures-custom-actuator
工具包Toolkit.jar——数据库归档、转换、复制、轻量版(拆分/合并)、移动、根目录操作features-toolkit
start.sh启动/停止FullNode、配置/数据路径、构建或发布、清单重建features-start-script
Docker使用Docker构建与运行——镜像、配置/数据挂载、SR模式、JVM选项features-docker

Best Practices

最佳实践

TopicDescriptionReference
API SecuritySecuring HTTP, gRPC, JSON-RPC when exposing FullNode to the publicbest-practices-api-security
主题描述参考链接
API安全当FullNode暴露至公网时,保障HTTP、gRPC、JSON-RPC的安全best-practices-api-security