LinuxCommandLibrary

truffle

A tool for developing smart contracts for running services on the Ethereum blockchain.

TLDR

Download a pre-built Truffle project (Truffle Box)

$ truffle unbox [box_name]
copy


Compile contract source files in the current directory
$ truffle compile
copy


Run JavaScript and Solidity tests
$ truffle test
copy


Run migrations to deploy contracts
$ truffle migrate
copy


Display help for a subcommand
$ truffle help [subcommand]
copy

Copied to clipboard