truffle create <artifact_type> <ArtifactName>
Helper to create new contracts, migrations and tests
Arguments
Name | Description |
---|---|
artifact_type | Create a new artifact where artifact_type is one of the following: contract, migration, test or all. The new artifact is created along with one(or all) of the followingfiles: `contracts/ArtifactName.sol`, `migrations/####_artifact_name.js` or`tests/artifact_name.js`. (required) |
ArtifactName | Name of new artifact. (required) |