Building Decentralized Applications for Ethereum: Building the Back End


Overview/Description
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description

During this series of tutorials, you will explore the development, testing, and deployment of smart contracts and libraries by using the Truffle framework for developing Blockchain solutions. Learn how to download and install Ganache to create a private Ethereum network. First, set up the MetaMask browser plugin to connect to the private network, then download and install the Truffle framework to initialize a project for smart contracts. A two-part tutorial will then examine how to develop a crowdfunding contract: defining fields, events, and coding for a Solidity smart contract to function as a crowdfunding campaign. You will learn how to define the smart contract deployment process by writing migration scripts along with the library it depends on, and running automated testing with the use of the Mocha testing framework. This leads to deploying smart contracts to an Ethereum network by using the Truffle framework. The course ends with an exercise to build the decentralized application (dApp) back end, by describing features of Ganache and enumerating steps in the lifecycle of a project in the Truffle framework.



Expected Duration (hours)
1.4

Lesson Objectives

Building Decentralized Applications for Ethereum: Building the Back End

  • identify the subject areas covered in this course
  • download and install Ganache and set up a private Ethereum network
  • connect to the private Ganache network from the Metamask browser plugin
  • download and install the Truffle framework and initialize a project for smart contracts
  • define the fields and events in a Solidity smart contract that can be used to manage a crowdfunding campaign
  • code the functions required for a Solidity smart contract to function as a crowdfunding campaign
  • write migration scripts for the deployment of a smart contract along with a library it depends on
  • automate testing of a smart contract by using the Mocha testing framework and define a suite of tests
  • use the Mocha testing framework and Chai assertion libraries to define test cases for a smart contract
  • deploy smart contracts to an Ethereum network using the Truffle framework
  • describe the features of Ganache and enumerate the steps in the lifecycle of a project in the Truffle framework
  • Course Number:
    it_bcbdaedj_02_enus

    Expertise Level
    Intermediate