github.com/sxwebdev/gotron
Package gotron provides a comprehensive SDK for interacting with the Tron blockchain. This package offers a complete implementation of Tron's gRPC API with a clean, idiomatic Go interface. It handles address generation, transaction creation and signing, TRC20 token operations, resource management, and blockchain queries. Create a client and query an account balance: TronGrid requires an API key via the TRON-PRO-API-KEY header. Use a gRPC interceptor to add it: Generate addresses from mnemonic phrases using BIP39/BIP44: Create and broadcast a TRX transfer: Work with TRC20 tokens: Delegate and reclaim resources: The package supports multiple networks: The SDK is organized into several packages: The package provides typed errors for common scenarios: Common errors: For advanced use cases, access the underlying gRPC client directly: Generate multiple addresses from a single mnemonic: For detailed API documentation, visit https://pkg.go.dev/github.com/sxwebdev/gotron
proxy.golang.org
0
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/sxwebdev/gotron
spec |
| License | MIT |
| Namespace | github.com/sxwebdev |
| Last Synced | 24 days ago |
Repository
| Stars | 0 on GitHub |
| Forks | 0 on GitHub |