Truffle Suite: Automating Development with the Truffle Framework

Truffle Suite    |    Intermediate
  • 9 videos | 1h 8s
  • Includes Assessment
  • Earns a Badge
Rating 3.8 of 4 users Rating 3.8 of 4 users (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

  • 2m 29s
  • 7m 38s
    Learn how to use the "truffle init" command to create a Truffle project with a defined structure. FREE ACCESS
  • Locked
    3.  Exploring a Truffle Project
    8m 10s
    Upon completion of this video, you will be able to describe the files and folders generated by the truffle init command and recognize their purpose. FREE ACCESS
  • Locked
    4.  Building Smart Contracts in a Truffle Project
    4m 47s
    In this video, find out how to compile smart contracts in a Truffle project using the "truffle compile" command and describe the generated build artifacts. FREE ACCESS
  • Locked
    5.  Writing a Test for a Truffle Project
    8m 1s
    In this video, you will code a test script to deploy a smart contract and confirm the deployment was successful. FREE ACCESS
  • Locked
    6.  Executing Truffle Tests
    4m 30s
    In this video, you will run a test script for a truffle project and examine the output. FREE ACCESS
  • Locked
    7.  Grouping Test Cases into Suites
    9m 30s
    In this video, learn how to use the Mocha testing framework to define test cases and test suites, and use the beforeEach hook to run a function before every test case. FREE ACCESS
  • Locked
    8.  Deploying Contracts in a Truffle Project
    6m 52s
    During this video, you will learn how to deploy smart contracts to an Ethereum network using the truffle migrate command. FREE ACCESS
  • Locked
    9.  Exercise: The Truffle Framework
    8m 14s
    Upon completion of this video, you will be able to recall the processes of testing and deploying smart contracts in a Truffle project. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

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

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Rating 4.5 of 45 users Rating 4.5 of 45 users (45)
Rating 3.5 of 6 users Rating 3.5 of 6 users (6)