tronbox

Development framework and testing environment for TRON (TVM) and EVM-compatible chains — compile, migrate, test, and console.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "tronbox" with this command: npx skills add hairyf/blockchain-skills/hairyf-blockchain-skills-tronbox

The skill is based on TronBox v4.5.0, generated at 2026-02-25.

TronBox 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.

Core References

TopicDescriptionReference
Configurationtronbox.js / tronbox-evm-config.js, networks, paths, solccore-config
Migrations & DeployerMigration scripts, deploy/link/then API, context (artifacts, tronWeb, ethers)core-migrations
CompileCompiling contracts, --all / --evm, build outputcore-compile
Testingtronbox test, test discovery, artifacts in testscore-testing
ConsoleInteractive REPL with contract abstractionscore-console
CLIAll commands and optionscore-cli
Artifacts & ResolverBuild output shape, resolver order, artifacts.require / resolvecore-artifacts-resolver
Contract abstractionnew(), at(), deployed(), call(), link, defaultscore-contract-abstraction

Features

TopicDescriptionReference
EVM modeEVM chains, tronbox-evm-config.js, --evm, ethersfeatures-evm
Init & Unboxtronbox init (sample/MetaCoin), unbox templatesfeatures-init-unbox
FlattenFlatten contracts and dependencies to single file (verification/auditing)features-flatten
DeployAlias for migrate; same options and behaviorfeatures-deploy
TronWrap & providerTronWeb/ethers context, waitForTransactionReceipt, TREfeatures-tronwrap

Best Practices

TopicDescriptionReference
Environment & networksEnvironment.detect, default network, network_id/from, common errorsbest-practices-environment
Errors & exit behaviorTaskError, config/compile/migrate errors, exit codesbest-practices-errors

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Web3

openzeppelin-contracts

No summary provided by upstream source.

Repository SourceNeeds Review
Web3

viem

No summary provided by upstream source.

Repository SourceNeeds Review
Web3

ton

No summary provided by upstream source.

Repository SourceNeeds Review
Web3

solana-anchor

No summary provided by upstream source.

Repository SourceNeeds Review