Development lifecycle
The end-to-end build workflow for TRON smart contracts: prepare resources, write and compile, deploy, interact, and verify on TRONSCAN.
Building a smart contract on TRON follows this workflow: prepare resources → write → compile → deploy → interact → verify. This section walks through each stage in order, with both high-level walkthroughs and low-level HTTP API references.
In this section
- Obtaining Energy — get the Energy/TRX you need before deploying or invoking a contract
- Writing & compiling — write Solidity, choose an editor, and compile with TronBox or other tools
- Deploying — deploy via TronBox, TronIDE, or TronWeb (high-level walkthroughs)
- Smart contract deployment and invocation — low-level HTTP API path for advanced users
- Interacting with contracts — read contract state and call state-changing methods
- Contract verification — verify source code on TRONSCAN so users can audit your contract
Suggested reading order
If you are new to TRON, follow the order above — each page builds on the previous one. If you are migrating an existing Ethereum contract and just need the TRON-specific deployment steps, start with Deploying and reference Obtaining Energy for cost planning.
For cost optimization (fee_limit calibration, Energy estimation, transaction-success patterns), see FeeLimit & Energy cost in the Advanced section.
Related resources
- Quickstart — deploy your first contract in 10 minutes
- Concepts — TVM, opcodes, and TRON-specific Solidity extensions
- FeeLimit & Energy cost — cost management (Advanced topic)
- Migrating from Ethereum — porting walkthrough
Updated 7 days ago