Truffle Suite: Automating Development with the Truffle Framework

Truffle Suite    |    Intermediate
  • 9 Videos | 1h 3m 38s
  • Includes Assessment
  • Earns a Badge
Likes 4 Likes 4
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.

WHAT YOU WILL LEARN

  • 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

IN THIS COURSE

  • Playable
    1. 
    Course Overview
    2m 29s
    UP NEXT
  • Playable
    2. 
    Initializing a Truffle Project
    7m 38s
  • Locked
    3. 
    Exploring a Truffle Project
    8m 10s
  • Locked
    4. 
    Building Smart Contracts in a Truffle Project
    4m 47s
  • Locked
    5. 
    Writing a Test for a Truffle Project
    8m 1s
  • Locked
    6. 
    Executing Truffle Tests
    4m 30s
  • Locked
    7. 
    Grouping Test Cases into Suites
    9m 30s
  • Locked
    8. 
    Deploying Contracts in a Truffle Project
    6m 52s
  • Locked
    9. 
    Exercise: The Truffle Framework
    8m 14s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.