Directories
ΒΆ
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
event_abi_generator
command
|
|
|
event_abi_loader
command
Command event_abi_loader demonstrates loading ABI JSON and registering its events into the global eventdecoder registry.
|
Command event_abi_loader demonstrates loading ABI JSON and registering its events into the global eventdecoder registry. |
|
generate_event_builtins
command
Command generate_event_builtins compiles a curated corpus of ABIs into a builtin signature table included in pkg/eventdecoder.
|
Command generate_event_builtins compiles a curated corpus of ABIs into a builtin signature table included in pkg/eventdecoder. |
|
setup_nile_testnet
command
Command setup_nile_testnet provides helpers to scaffold local credentials and environment for TRON Nile testnet interactions.
|
Command setup_nile_testnet provides helpers to scaffold local credentials and environment for TRON Nile testnet interactions. |
|
example
|
|
|
eventdecoder_simple
command
This snippet demonstrates how to retrieve and decode events from a transaction ID
|
This snippet demonstrates how to retrieve and decode events from a transaction ID |
|
multisign
command
|
|
|
quickstart_event_reading
command
|
|
|
quickstart_transaction_simulation
command
This is a more advanced example of transaction simulation.
|
This is a more advanced example of transaction simulation. |
|
quickstart_trc20_transfer
command
This snippet is from docs/quickstart.md TRC20 Token Transfer
|
This snippet is from docs/quickstart.md TRC20 Token Transfer |
|
quickstart_trx_transfer
command
This snippet is from docs/quickstart.md Your First TRX Transfer
|
This snippet is from docs/quickstart.md Your First TRX Transfer |
|
quickstart_trx_transfer_from_example
command
This snippet is from example/transfer/main.go
|
This snippet is from example/transfer/main.go |
|
readme_trc20_transfer
command
This snippet is from README.md TRC20 Token Transfer
|
This snippet is from README.md TRC20 Token Transfer |
|
readme_trx_transfer
command
This snippet is from README.md Simple TRX Transfer
|
This snippet is from README.md Simple TRX Transfer |
|
shielded
command
|
|
|
simulate
command
|
|
|
transfer
command
|
|
|
trc20_allowance
command
This snippet demonstrates TRC20 allowance checking Check how much a spender is allowed to spend on behalf of an owner
|
This snippet demonstrates TRC20 allowance checking Check how much a spender is allowed to spend on behalf of an owner |
|
trc20_balance_checking
command
This snippet demonstrates TRC20 balance checking Check the token balance of a specific address
|
This snippet demonstrates TRC20 balance checking Check the token balance of a specific address |
|
trc20_basic_setup
command
This snippet is from docs/trc20.md Basic Setup
|
This snippet is from docs/trc20.md Basic Setup |
|
trc20_token_metadata
command
This snippet demonstrates TRC20 token metadata retrieval Get token name, symbol, and decimals information
|
This snippet demonstrates TRC20 token metadata retrieval Get token name, symbol, and decimals information |
|
trc20_total_supply
command
This snippet demonstrates TRC20 total supply checking Get the total supply of tokens for a TRC20 contract
|
This snippet demonstrates TRC20 total supply checking Get the total supply of tokens for a TRC20 contract |
|
trc20_transfer_with_signing
command
This snippet is from docs/trc20.md Transfer with Signing and Broadcasting
|
This snippet is from docs/trc20.md Transfer with Signing and Broadcasting |
|
types_address_conversion
command
This snippet is from docs/types.md Address Conversion
|
This snippet is from docs/types.md Address Conversion |
|
types_creating_addresses
command
This snippet is from docs/types.md Creating Addresses
|
This snippet is from docs/types.md Creating Addresses |
|
integration_test
|
|
|
pb
|
|
|
pkg
|
|
|
account
Package account provides high-level helpers to query and mutate TRON accounts, such as retrieving balances, resources, and building TRX transfers.
|
Package account provides high-level helpers to query and mutate TRON accounts, such as retrieving balances, resources, and building TRX transfers. |
|
client
Package client provides high-level client functionality.
|
Package client provides high-level client functionality. |
|
client/lowlevel
This package contains raw gRPC calls with minimal business logic
|
This package contains raw gRPC calls with minimal business logic |
|
eventdecoder
Package eventdecoder maintains a compact registry of event signatures and helpers to decode logs into typed values using minimal ABI fragments.
|
Package eventdecoder maintains a compact registry of event signatures and helpers to decode logs into typed values using minimal ABI fragments. |
|
network
Package network exposes simple accessors for network-level information such as chain parameters and node metadata.
|
Package network exposes simple accessors for network-level information such as chain parameters and node metadata. |
|
resources
Package resources manages TRON resource economics, including bandwidth and energy queries and operations.
|
Package resources manages TRON resource economics, including bandwidth and energy queries and operations. |
|
signer
Package signer contains key management and transaction signing utilities, including HD wallet derivation and raw private key signing.
|
Package signer contains key management and transaction signing utilities, including HD wallet derivation and raw private key signing. |
|
smartcontract
Package smartcontract provides high-level helpers to deploy, query, and interact with TRON smart contracts.
|
Package smartcontract provides high-level helpers to deploy, query, and interact with TRON smart contracts. |
|
trc10
Package trc10 offers helpers to query TRC10 token metadata and balances.
|
Package trc10 offers helpers to query TRC10 token metadata and balances. |
|
trc20
Package trc20 provides a typed, ergonomic interface for TRC20 tokens.
|
Package trc20 provides a typed, ergonomic interface for TRC20 tokens. |
|
types
Package types provides shared types and utilities for the TRON SDK
|
Package types provides shared types and utilities for the TRON SDK |
|
utils
Package utils houses ABI encode/decode logic, type parsing, and common helpers shared by higher-level packages.
|
Package utils houses ABI encode/decode logic, type parsing, and common helpers shared by higher-level packages. |
|
voting
Package voting provides a high-level manager for witness voting and related governance operations.
|
Package voting provides a high-level manager for witness voting and related governance operations. |
Click to show internal directories.
Click to hide internal directories.