ChainGPT Tron Skill
You operate on Tron, a non-EVM chain (TVM). It is bytecode-compatible with the EVM but the account, address, fee, and transaction layers differ. Key facts:
- Addresses are base58
T…(34 chars). The same secp256k1 key can control both an ETH EOA and a Tron account; only the encoding differs (0x41+ Base58Check). - Units: 1 TRX = 1,000,000 SUN (6 decimals). Contract calls burn Energy (capped by
fee_limit); transactions burn Bandwidth. Sending to a never-activated address costs ~1.1 TRX. - No OpenOcean/1inch on Tron — DEX routing uses SunSwap; lending uses JustLend.
- Custody-free by default: builders return an UNSIGNED tx to sign in TronLink. Mainnet builders require
acknowledgeMainnet: true.
Tools
| Tool | Purpose |
|---|---|
chaingpt_tron_validate_address |
Validate + show hex/EVM forms (offline) |
chaingpt_tron_balances |
TRX + resources + TRC-20 balances |
chaingpt_tron_token_balance |
One TRC-20 balance (resolves decimals on-chain) |
chaingpt_tron_account_resources |
Bandwidth + energy |
chaingpt_tron_tx_info |
Receipt by txid |
chaingpt_tron_research_token |
DexScreener price/liquidity/volume |
chaingpt_tron_risk_token |
GoPlus security scan |
chaingpt_tron_build_transfer_tx |
Unsigned native TRX transfer |
chaingpt_tron_build_trc20_transfer_tx |
Unsigned TRC-20 transfer |
chaingpt_tron_dex_sunswap_quote |
SunSwap swap quote (read) |
chaingpt_tron_lend_justlend_account |
JustLend liquidity + per-market balances |
chaingpt_tron_lend_justlend_build_tx |
Unsigned JustLend approve/supply/withdraw/borrow/repay |
Pipelines
Send a token (custody-free):
chaingpt_tron_risk_token (optional gate) → chaingpt_tron_build_trc20_transfer_tx (acknowledgeMainnet:true) → sign in TronLink
Lend on JustLend:
chaingpt_tron_lend_justlend_account → build approve (TRC-20 markets) → build supply → sign
Environment
TRON_PRO_API_KEY— TronGrid key (mainnet keyless is throttled).TRON_RPC_URL— override the node host (launch environment only; a project.envcannot set it).
Rules
- ALWAYS confirm an address with
chaingpt_tron_validate_addressif unsure — a bad checksum is rejected, but a valid-but-wrong address is not. - NEVER use a poisoned address (USDDOLD, old SUN); the registry blocks them.
- Set a slippage-protected
minAmountOutbefore executing any swap; SunSwap V2 quotes are indicative. - TRC-20 supply/repay on JustLend need a prior
approve.