Create a project
Most of the TronBox commands are run under the directories of TronBox projects. So the first step is to create a TronBox project. You can scaffold one from a built-in template with tronbox init, but for those getting started, you can use TronBox Boxes, which offers example applications and project templates. We'll use the MetaCoin box, which creates a token that can be transferred between accounts.
- Create a directory for MetaCoin:
shell
mkdir MetaCoin
cd MetaCoin- Download ("unbox") the MetaCoin project:
shell
tronbox unbox metacoinTIP
NOTE: Alternatively, run tronbox init in an empty directory to scaffold a project from a built-in template instead of unboxing.
Once this operation is completed, you will have a project directory structure with the following items:
contracts/: Directory for Solidity contractsmigrations/: Directory for scriptable deployment filestest/: Directory for test contractstronbox.js: TronBox configuration file

