tron-java
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseSkill 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
核心参考
| Topic | Description | Reference |
|---|---|---|
| Overview | What java-tron is, artifacts (FullNode.jar, Toolkit.jar), networks (Mainnet, Nile, Shasta, private) | core-overview |
| Build and Run | Build from source (Gradle), run FullNode/SR, config, hardware requirements, dependency (JitPack/Maven) | core-build-run |
| APIs | HTTP, gRPC, JSON-RPC configuration and ports | core-apis |
| Config | config.conf structure — net, storage, node (P2P, HTTP, gRPC, JSON-RPC), localwitness, seed nodes, tuning | core-config |
| 主题 | 描述 | 参考链接 |
|---|---|---|
| 概述 | java-tron是什么、相关产物(FullNode.jar、Toolkit.jar)、网络(主网、Nile测试网、Shasta测试网、私有网络) | core-overview |
| 构建与运行 | 从源码构建(Gradle)、运行FullNode/SR、配置、硬件要求、依赖(JitPack/Maven) | core-build-run |
| API | HTTP、gRPC、JSON-RPC的配置与端口 | core-apis |
| 配置 | config.conf结构——网络、存储、节点(P2P、HTTP、gRPC、JSON-RPC)、本地见证人、种子节点、调优 | core-config |
Features
功能特性
Modularization
模块化
| Topic | Description | Reference |
|---|---|---|
| Modular Architecture | Six modules (framework, protocol, common, chainbase, consensus, actuator) and key interfaces | features-modular-architecture |
| Modular Deployment | Distribution script launch, JVM options | features-modular-deployment |
| Custom Actuator | Add new contract type: proto, ContractType, Actuator impl, WalletApi | features-custom-actuator |
| Toolkit | Toolkit.jar — DB archive, convert, copy, lite (split/merge), move, root | features-toolkit |
| start.sh | Run/stop FullNode, config/data paths, build or release, manifest rebuild | features-start-script |
| Docker | Build and run with Docker — image, config/data mounts, SR mode, JVM options | features-docker |
| 主题 | 描述 | 参考链接 |
|---|---|---|
| 模块化架构 | 六大模块(framework、protocol、common、chainbase、consensus、actuator)及核心接口 | features-modular-architecture |
| 模块化部署 | 分发脚本启动、JVM选项 | features-modular-deployment |
| 自定义执行器 | 添加新合约类型:proto、ContractType、Actuator实现、WalletApi | features-custom-actuator |
| 工具包 | Toolkit.jar——数据库归档、转换、复制、轻量版(拆分/合并)、移动、根目录操作 | features-toolkit |
| start.sh | 启动/停止FullNode、配置/数据路径、构建或发布、清单重建 | features-start-script |
| Docker | 使用Docker构建与运行——镜像、配置/数据挂载、SR模式、JVM选项 | features-docker |
Best Practices
最佳实践
| Topic | Description | Reference |
|---|---|---|
| API Security | Securing HTTP, gRPC, JSON-RPC when exposing FullNode to the public | best-practices-api-security |
| 主题 | 描述 | 参考链接 |
|---|---|---|
| API安全 | 当FullNode暴露至公网时,保障HTTP、gRPC、JSON-RPC的安全 | best-practices-api-security |