truffle
A tool for developing smart contracts for running services on the Ethereum blockchain. More information: https://www.trufflesuite.com/docs/truffle/reference/truffle-commands.
-
Download a pre-built Truffle project (Truffle Box):
truffle unbox {{box_name}}
-
Compile contract source files in the current directory:
truffle compile
-
Run JavaScript and Solidity tests:
truffle test
-
Run migrations to deploy contracts:
truffle migrate
-
Display help for a subcommand:
truffle help {{subcommand}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.