Truffle Suite: Automating Development with the Truffle Framework


Overview/Description
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description

Speed up your smart contract development by using the Truffle framework and help automate steps around building, testing, and deploying contracts for your Blockchain solutions. This course covers installation and use of the Truffle framework. Specifically, you will learn how to: compile smart contracts in a Truffle project using the truffle compile command and describe the generated build artifacts; code a test script to deploy a smart contract and confirm the deployment; run a test script for a truffle project and examine the output; write tests using Mocha framework; and script the deployment of a contract to an Ethereum network using Ganache. Once you perform all of the labs in this course, you will have acquired the skills required to develop solidity smart contracts for Ethereum in a very systematic manner. Participants will know how to structure their projects and to automate many of the development processes, in order to build robust smart contracts in the most efficient way.



Expected Duration (hours)
1.0

Lesson Objectives

Truffle Suite: Automating Development with the Truffle Framework

  • Course Overview
  • use the truffle init command to create a Truffle project with a defined structure
  • describe the files and folders generated by the truffle init command and recognize their purpose
  • compile smart contracts in a Truffle project using the truffle compile command and describe the generated build artifacts
  • code a test script to deploy a smart contract and confirm the deployment
  • run a test script for a truffle project and examine the output
  • use the Mocha testing framework to define test cases, test suites and use the beforeEach hook to run a function before every test case
  • deploy smart contracts to an Ethereum network using the truffle migrate command
  • recall the processes around testing and deploying smart contracts in a Truffle project
  • Course Number:
    it_bcwtfsdj_03_enus

    Expertise Level
    Intermediate