Truffle is a world-class development environment, testing framework, and asset pipeline for blockchains using the Ethereum Virtual Machine (EVM), aiming to make life as a developer easier.
Note: You can use the
truffle unbox <box-name>command to download any of the other Truffle Boxes.
Note: To create a bare Truffle project with no smart contracts included, use
contracts/: Directory for Solidity contracts
migrations/: Directory for scriptable deployment files
test/: Directory for test files for testing your application and contracts
truffleprefix. For example, to run
truffle compileon the prompt, type
compile. The command to deploy your compiled contracts to the blockchain is
truffle migrate, so at the prompt, type:
Note: Your transaction hashes, contract addresses, and accounts will be different from the above.
Note: To see how to interact with the contract, please skip to the next section.