fbsobreira / gotron-sdk
Go SDK & CLI for TRON blockchain — build wallets, exchanges, bots & backend services. gRPC client, HD wallets, Ledger support, TRC20/TRC10, multi-sig, staking.
AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing fbsobreira/gotron-sdk in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Overview (README excerpt)
Crawler viewGoTRON SDK GoTRON SDK is a comprehensive Go SDK and CLI tool for interacting with the TRON blockchain. It provides both a command-line interface ( ) and Go libraries for TRON blockchain operations. Built For • **Exchanges** — deposit/withdrawal engines, hot wallet management • **Wallets** — HD wallet derivation, hardware signing, multi-sig • **Trading Bots** — fast gRPC client, typed responses, batch operations • **Staking Services** — freeze/delegate resources, vote for SRs • **Infrastructure** — CLI scripting, monitoring, automation Why GoTRON? GoTRON SDK is built for **backend and infrastructure** teams that need performance, reliability, and operational tooling. | | GoTRON SDK | [tronweb] (JS/TS) | [tron-api-python] | |--|-----------|-----------------|-----------------| | **Transport** | gRPC (binary, streaming) | HTTP/JSON | HTTP/JSON | | **Deployment** | Single static binary | Node.js runtime | Python runtime | | **Hardware Signing** | Built-in Ledger support | Separate adapter | No | | **CLI Tooling** | included | None | Yes (CLI framework) | | **Concurrency** | Goroutines (native) | Event loop | GIL-limited | | **HD Wallets** | Yes (BIP39/44) | Yes (BIP39/44) | No | | **Multi-sig** | Yes | Yes | Not documented | | **Type Safety** | Full (compiled) | Full (TypeScript) | Not documented | > Comparison as of 2026-03-16. Verify claims against each project's README. [tronweb]: https://github.com/tronprotocol/tronweb [tron-api-python]: https://github.com/iexbase/tron-api-python Features • 🔧 **Complete CLI Tool**: Manage accounts, send transactions, interact with smart contracts • 📚 **Go SDK**: Build TRON applications with a clean, idiomatic Go API • 🔐 **Secure Key Management**: Hardware wallet support, encrypted keystores • 🚀 **High Performance**: Native gRPC communication with TRON nodes • 🛠️ **Developer Friendly**: Comprehensive examples and documentation Quick Start Installation Install from source Install with go get Basic Usage CLI Usage 30-Second Quickstart (SDK) Documentation • Installation Guide - Detailed installation instructions • CLI Usage Guide - Complete CLI command reference • SDK Usage Guide - Go SDK examples and patterns • API Reference - Detailed API documentation • Examples - Common use cases and examples Supported Features Account Management • Create and import accounts • Hardware wallet support (Ledger) • Keystore management • Multi-signature support Transactions • TRX transfers • TRC10 token operations • TRC20 token operations • Smart contract interactions • Transaction signing and broadcasting Smart Contracts • Contract deployment • Contract calls and triggers • ABI encoding/decoding • Event monitoring Blockchain Queries • Block information • Transaction details • Account resources • Witness/SR information • Proposal management Configuration Environment Variables Configuration File Create : Transfer JSON Format For batch transfers, use a JSON file with the following format: | Key | Value-type | Value-description| | :------------------:|:----------:| :----------------| | | string | [**Required**] Sender's address, must have key in keystore | | | string | [**Required**] Receiver's address | | | string | [**Required**] Amount to send in TRX | | | string | [*Optional*] File path containing passphrase | | | string | [*Optional*] Passphrase as string | | | boolean | [*Optional*] Stop on error (default: false) | Example: Shell Completion Add to your or : Development Requirements • Go 1.24 or higher • Make (for building) • Protocol Buffers compiler (for regenerating protos) Building Contributing We welcome contributions! Please see our Contributing Guidelines for details. • Fork the repository • Create your feature branch ( ) • Commit your changes ( ) • Push to the branch ( ) • Open a Pull Request Version History Note on Versions The v2.x.x releases were incorrectly tagged without proper Go module versioning. These versions have been retracted. Please use v1.x.x versions or later. Projects Using GoTRON > Using GoTRON SDK in your project? Open an issue to add it here! License This project is licensed under the LGPL-3.0 License - see the LICENSE file for details. Support • 📖 Documentation • 🐛 Issue Tracker • 💬 Discussions