OpenViSTAI · Agents · Blockchain · Crypto
Menu
Developer Tools

Tronz

Tronz is an async-first Rust SDK for building applications that interact with the TRON network through gRPC and RPC APIs. It provides typed provider operations for chain and account queries, token transfers and balances, staking, and smart-contract calls.

Independent OpenViST project profile, based on linked sources.

Tronz — OpenViST project profile in Developer Tools.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use Tronz when a Rust application needs typed, asynchronous access to TRON nodes for reads or transaction and contract operations.

Who it is for

  • Rust developers adding TRON network access to an application.
  • Teams building TRX, TRC10 or TRC20 workflows or TRON smart-contract integrations.

Documented uses

  • Query blocks, accounts, transactions and contract state.
  • Build token transfers, balance queries and staking operations.
  • Create typed smart-contract bindings and make contract calls or decode events.
Before you choose

Requirements & limits

The repository is public and identifies the project as open source under MIT and Apache-2.0 licensing. Installation is documented through Cargo.

  • The documented transport is gRPC, with connections to TronGrid, FullNodes and SolidityNodes.
  • Rust 1.91.1 or later is specified in the repository README.
  • Optional feature flags enable signing integrations; the AWS KMS feature requires an AWS account.
  • The SDK documents timeout and retry configuration and endpoint failover.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Add Tronz to a Rust project

Declare the Tronz dependency using the documented Cargo installation options.

Before you start

  • A Rust project using Cargo.
  • Rust 1.91.1 or later.

Steps

  1. From the project directory, run the command below.

    Documented command
    cargo add tronz
  2. Alternatively, add tronz = "0.5" under [dependencies] in Cargo.toml.

Expected outcome

The project declares Tronz as a dependency.

Guide limitations

  • This covers dependency setup only; it does not configure a network endpoint or demonstrate a running application.
Source-based practical guide

Read the latest TRON block in Rust

Use the documented quick-start pattern to request the latest block through TRON gRPC.

Before you start

  • Tronz added to a Rust project.
  • A Tokio-based async Rust entry point.
  • A reachable TRON gRPC endpoint; the README example uses TRONGRID_MAINNET.

Steps

  1. Create a provider with ProviderBuilder::new().connect_grpc(TRONGRID_MAINNET).await?.

  2. Call provider.get_now_block().await?.

  3. Read the returned block number and timestamp.

Expected outcome

The example obtains the latest block and accesses its number and timestamp.

Guide limitations

  • The README marks its code example no_run; it does not establish that a particular endpoint is reachable in a user's environment.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
13 October 2026
Original website title
throgxyz/tronz · Official homepage title · retained in its source language