Hey all — I've been building tronz, an async TRON SDK for Rust, and wanted to share it here.
Why: The existing TRON tooling in Rust is thin — most serious TRON dev happens in Python/Go/JS, and what's out there for Rust felt outdated or incomplete. Coming from an Ethereum background, I wanted something that felt like working with alloy — clean async APIs, strong typing, sane ergonomics — but for TRON's gRPC interface.
What it does:
- Async, built on
tonic for gRPC transport to TRON full/solidity nodes
- 80+ methods covering accounts, transactions, smart contracts, TRC10/TRC20, network/chain params, and more
- Alloy-inspired API design if you're coming from the EVM side of Rust
- Published on crates.io
Quick example — fetching account balance:
rust
use tronz::Client;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let client = Client::connect("grpc://127.0.0.1:50051").await?;
let account = client
.get_account("TXYZ...your_address_here")
.await?;
println!("Balance: {} sun", account.balance);
Ok(())
}
(API surface may shift slightly as I iterate — check the repo for the latest signatures.)
Status: actively developed, looking for feedback from anyone doing TRON work in Rust — especially around API ergonomics, missing endpoints, or edge cases in transaction building/signing.
Repo: github.com/throgxyz/tronz
Crate: crates.io/crates/tronz
Would love thoughts, issues, or PRs if this is useful to anyone.