tldr/pages/common/truffle.md
Vitor Henrique c8f956319f
pages*: simplify page description (#12149)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-02-14 21:25:13 +01:00

518 B

truffle

Develop 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}}