From 1e46d18b9dd5fdc92fcec692819f8b293a1b1db7 Mon Sep 17 00:00:00 2001 From: Axel Navarro Date: Sat, 18 Sep 2021 08:01:35 -0300 Subject: [PATCH] truffle: add page (#6534) --- pages/common/truffle.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/common/truffle.md diff --git a/pages/common/truffle.md b/pages/common/truffle.md new file mode 100644 index 0000000000..d9e5b6aa99 --- /dev/null +++ b/pages/common/truffle.md @@ -0,0 +1,24 @@ +# truffle + +> A tool for developing smart contracts for running services on the Ethereum blockchain. +> More information: . + +- 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}}`