Previous Page

Truffle Suite: Automating Development with the Truffle Framework

Truffle Suite: Automating Development with the Truffle Framework


Overview/Description
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description

Explore how the Truffle Framework simplifies and speeds up smart contract development by giving a structure to smart contract project and helping automate steps around building, testing, and deploying contracts.



Expected Duration (hours)
1.0

Lesson Objectives

Truffle Suite: Automating Development with the Truffle Framework

  • 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