1---2name: tronbox3description: Development framework and testing environment for TRON (TVM) and EVM-compatible chains — compile, migrate, test, and console.4---56> The skill is based on TronBox v4.5.0, generated at 2026-02-25.78TronBox is a Truffle-style framework for TRON: smart contract compilation, migrations, testing, and an interactive console. It supports both the native TRON Virtual Machine (TVM) and EVM-compatible chains (e.g. BTTC) via a separate config and the `--evm` flag. Migrations and tests use ethers v6 in EVM mode and TronWeb for TVM.910## Core References1112| Topic | Description | Reference |13|-------|-------------|-----------|14| Configuration | tronbox.js / tronbox-evm-config.js, networks, paths, solc | [core-config](references/core-config.md) |15| Migrations & Deployer | Migration scripts, deploy/link/then API, context (artifacts, tronWeb, ethers) | [core-migrations](references/core-migrations.md) |16| Compile | Compiling contracts, --all / --evm, build output | [core-compile](references/core-compile.md) |17| Testing | tronbox test, test discovery, artifacts in tests | [core-testing](references/core-testing.md) |18| Console | Interactive REPL with contract abstractions | [core-console](references/core-console.md) |19| CLI | All commands and options | [core-cli](references/core-cli.md) |20| Artifacts & Resolver | Build output shape, resolver order, artifacts.require / resolve | [core-artifacts-resolver](references/core-artifacts-resolver.md) |21| Contract abstraction | new(), at(), deployed(), call(), link, defaults | [core-contract-abstraction](references/core-contract-abstraction.md) |2223## Features2425| Topic | Description | Reference |26|-------|-------------|-----------|27| EVM mode | EVM chains, tronbox-evm-config.js, --evm, ethers | [features-evm](references/features-evm.md) |28| Init & Unbox | tronbox init (sample/MetaCoin), unbox templates | [features-init-unbox](references/features-init-unbox.md) |29| Flatten | Flatten contracts and dependencies to single file (verification/auditing) | [features-flatten](references/features-flatten.md) |30| Deploy | Alias for migrate; same options and behavior | [features-deploy](references/features-deploy.md) |31| TronWrap & provider | TronWeb/ethers context, waitForTransactionReceipt, TRE | [features-tronwrap](references/features-tronwrap.md) |3233## Best Practices3435| Topic | Description | Reference |36|-------|-------------|-----------|37| Environment & networks | Environment.detect, default network, network_id/from, common errors | [best-practices-environment](references/best-practices-environment.md) |38| Errors & exit behavior | TaskError, config/compile/migrate errors, exit codes | [best-practices-errors](references/best-practices-errors.md) |