#tron #blockchain #cryptocurrency #wallet #transactions


A Rust library for Tron-focused cryptocurrency wallets, enabling seamless transactions on the Tron blockchain

6 releases

0.2.2 Oct 23, 2023
0.2.1 Oct 9, 2023
0.1.2 Jul 11, 2023
0.1.0 Jun 16, 2023

#2414 in Magic Beans

Download history 6/week @ 2023-07-21 4/week @ 2023-07-28 7/week @ 2023-08-04 1/week @ 2023-08-11 3/week @ 2023-08-18 7/week @ 2023-08-25 5/week @ 2023-09-01 6/week @ 2023-09-08 11/week @ 2023-09-15 6/week @ 2023-09-22 2/week @ 2023-09-29 47/week @ 2023-10-06 11/week @ 2023-10-13 30/week @ 2023-10-20 14/week @ 2023-10-27 1/week @ 2023-11-03

58 downloads per month


31K SLoC


anychain-tron is a Rust library that provides a simple and unified interface for interacting with the Tron blockchain. It is designed to be easy to use and integrate into your Rust projects, while maintaining compatibility with the anychain-bitcoin library.


  • Unified API for Tron blockchain operations
  • Support for mainnet and testnet networks
  • Account management (create, import, export)
  • Transaction building and signing
  • Querying blockchain data (balances, transactions, etc.)
  • Support for smart contracts and TRC10/TRC20 tokens


Add the following to your Cargo.toml file:

anychain-tron = "0.2.2"

Then, run cargo build to download and compile the library.


Here's a simple example of how to create a new Tron account and query its balance:

For more examples and detailed usage instructions, please refer to the documentation.


We welcome contributions from the community! If you'd like to contribute, please follow these steps:

  1. Fork the repository
  2. Create a new branch for your changes
  3. Make your changes and commit them to your branch
  4. Submit a pull request with a description of your changes

Please make sure to write tests for your changes and follow the Rust coding style.


anychain-tron is released under the MIT License. See the LICENSE file for more information.


~131K SLoC