GoTRON SDK — The Go toolkit for TRON
Build wallets, exchanges, trading bots, staking services, and blockchain automation with the most complete Go library for TRON.
Built For
Whatever you're building on TRON, GoTRON SDK has you covered.
Exchanges
Deposit detection, withdrawals, and hot/cold wallet management with enterprise-grade reliability.
Wallets
HD wallet derivation, encrypted keystores, Ledger hardware signing, and multi-signature support.
Trading Bots
High-performance gRPC transport with Go concurrency for low-latency automated trading.
Staking Services
Energy and bandwidth resource management, voting, and reward claiming automation.
Infrastructure
Node monitoring, block scanning, transaction broadcasting, and backend services.
AI Agents
Connect LLMs to TRON via MCP. Query balances, build transactions, and interact with smart contracts from AI workflows.
Why GoTRON?
See how GoTRON compares to other TRON SDKs.
| Feature | GoTRON SDK | TronWeb (JS) | tron-api-python |
|---|---|---|---|
| Language | Go | TypeScript | Python |
| Transport | gRPC | HTTP | HTTP |
| CLI Tool | tronctl | — | — |
| Type Safety | Compile-time | TypeScript | mypy strict |
| Concurrency | Goroutines | async/await | asyncio |
| Hardware Signing | Ledger | — | — |
| HD Wallets | BIP44 | — | BIP44 |
| Multi-sig | ✓ | ✓ | ✓ |
| Deployment | Single binary | Node.js | pip |
| TRC20/TRC10 | ✓ | ✓ | ✓ |
| AI/MCP Support | ✓ | — | — |
Features
Everything you need to build on TRON with Go.
Complete CLI — tronctl
Full-featured command-line tool for TRON. Check balances, send transactions, manage resources, and more — no code required.
Clean Go SDK
Idiomatic Go API with strong types, comprehensive error handling, and excellent documentation.
Secure Key Management
Ledger hardware wallet support, BIP44 HD wallet derivation, encrypted keystore files, and multi-signature transactions.
High Performance
Native gRPC transport for low-latency communication. Leverage Go's goroutines for concurrent blockchain operations.
TRC20 & TRC10 Support
Full token support including transfers, approvals, balance queries, and contract interactions for both token standards.
Resource Management
Stake TRX for energy and bandwidth, vote for super representatives, and manage network resources programmatically.
Connect AI Agents to TRON
GoTRON MCP Server lets AI agents query balances, tokens, blocks, and build transactions on TRON — directly from Claude, Cursor, or any MCP-compatible client.
Install locally
Or zero install — just connect
Add to your IDE
Quick Start
Get up and running in minutes.
1. Install the SDK
2. Use GoTRON in your project
3. Or install the CLI
Frequently Asked Questions
Everything you need to know about GoTRON SDK.
What is GoTRON SDK?
How do I install GoTRON SDK?
go get github.com/fbsobreira/gotron-sdk. For the CLI tool: curl -fsSL gotron.sh/install | sh or go install github.com/fbsobreira/gotron-sdk/cmd/tronctl@latest.
How do I connect AI agents to TRON?
claude mcp add gotron --transport http https://mcp.gotron.sh/mcp. Or install locally: curl -fsSL gotron.sh/install-mcp | sh. This lets AI agents like Claude query balances, tokens, blocks, and build transactions on TRON.