Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
subcommands
Package cmd provides CLI subcommands for the tronctl command-line tool.
|
Package cmd provides CLI subcommands for the tronctl command-line tool. |
|
tronctl
command
|
|
|
examples
|
|
|
builder
command
Example: Transaction Builder + Contract Call Builder + TRC20
|
Example: Transaction Builder + Contract Call Builder + TRC20 |
|
justlend
command
Minimal example showing how to rent and return energy via JustLend DAO's energy rental contract using the GoTRON SDK.
|
Minimal example showing how to rent and return energy via JustLend DAO's energy rental contract using the GoTRON SDK. |
|
multisig
command
Runnable version of every multi-sig code block from docs/examples.md.
|
Runnable version of every multi-sig code block from docs/examples.md. |
|
pkg
|
|
|
abi
Package abi provides ABI encoding and decoding for TRON smart contracts.
|
Package abi provides ABI encoding and decoding for TRON smart contracts. |
|
account
Package account provides TRON account creation, import, and export operations.
|
Package account provides TRON account creation, import, and export operations. |
|
address
Package address provides TRON address encoding, decoding, and validation.
|
Package address provides TRON address encoding, decoding, and validation. |
|
client
Package client provides a gRPC client for interacting with the TRON network.
|
Package client provides a gRPC client for interacting with the TRON network. |
|
client/transaction
Package transaction provides transaction signing and submission for TRON.
|
Package transaction provides transaction signing and submission for TRON. |
|
common
Package common provides shared utilities for encoding, hashing, and data conversion.
|
Package common provides shared utilities for encoding, hashing, and data conversion. |
|
common/decimals
Package decimals provides decimal formatting and conversion utilities.
|
Package decimals provides decimal formatting and conversion utilities. |
|
common/numeric
Package numeric provides decimal arithmetic utilities.
|
Package numeric provides decimal arithmetic utilities. |
|
contract
Package contract provides smart contract interaction utilities for TRON.
|
Package contract provides smart contract interaction utilities for TRON. |
|
keys
Package keys provides key management utilities for TRON accounts.
|
Package keys provides key management utilities for TRON accounts. |
|
keys/hd
Package hd provides basic functionality Hierarchical Deterministic Wallets.
|
Package hd provides basic functionality Hierarchical Deterministic Wallets. |
|
keystore
Package keystore implements encrypted storage of secp256k1 private keys.
|
Package keystore implements encrypted storage of secp256k1 private keys. |
|
ledger
Package ledger provides hardware wallet integration for TRON signing.
|
Package ledger provides hardware wallet integration for TRON signing. |
|
mnemonic
Package mnemonic provides BIP39 mnemonic phrase generation and validation.
|
Package mnemonic provides BIP39 mnemonic phrase generation and validation. |
|
signer
Package signer defines a signing interface for TRON transactions and provides concrete implementations backed by private keys, keystores, and hardware wallets.
|
Package signer defines a signing interface for TRON transactions and provides concrete implementations backed by private keys, keystores, and hardware wallets. |
|
standards/trc20
Package trc20 provides a typed, high-level wrapper for TRC20 token interactions.
|
Package trc20 provides a typed, high-level wrapper for TRC20 token interactions. |
|
standards/trc20enc
Package trc20enc provides low-level ABI encoding and decoding helpers for TRC20 token interactions.
|
Package trc20enc provides low-level ABI encoding and decoding helpers for TRC20 token interactions. |
|
store
Package store provides local keystore management for TRON accounts.
|
Package store provides local keystore management for TRON accounts. |
|
tron
Package tron provides convenience constructors that bind a GrpcClient to the builder packages (txbuilder, contract, trc20).
|
Package tron provides convenience constructors that bind a GrpcClient to the builder packages (txbuilder, contract, trc20). |
|
txbuilder
Package txbuilder provides a fluent builder for native TRON transactions (transfers, staking, voting, etc.) with Build / Send / SendAndConfirm terminal operations.
|
Package txbuilder provides a fluent builder for native TRON transactions (transfers, staking, voting, etc.) with Build / Send / SendAndConfirm terminal operations. |
|
txcore
Package txcore provides shared transaction signing, broadcasting, and confirmation logic used by both txbuilder and contract packages.
|
Package txcore provides shared transaction signing, broadcasting, and confirmation logic used by both txbuilder and contract packages. |
|
txresult
Package txresult defines shared result types for TRON transaction operations, used by both the txbuilder and contract packages.
|
Package txresult defines shared result types for TRON transaction operations, used by both the txbuilder and contract packages. |
Click to show internal directories.
Click to hide internal directories.