Working with Ethereum: Lifecycle of a Smart Contract


Overview/Description
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description

Accelerate contract development by using the Truffle framework and Ganache to manage building, testing, and deploying smart contracts for your Blockchain solutions. For this course, you should already have some degree of application development experience in a high-level programming language. Learn how to write a simple Hello World smart contract using Solidity; how to use the solc compiler to produce a smart contract to generate Ethereum bytecode; and how to script smart contract compilation and define the types of output required, including bytecode and ABI (application binary interface). In this course, you will also learn to write simple test cases by using Mocha, group them into a test suite, and describe a common set of actions to run before each test case. By the end of this course, you will become familiar with using the Truffle Suite for smart contract development and lifecycle management. You will know how the steps for building, testing, and deploying a smart contract can be scripted and thus greatly speed up the development of your distributed application.



Expected Duration (hours)
0.8

Lesson Objectives

Working with Ethereum: Lifecycle of a Smart Contract

  • Course Overview
  • write a simple Hello World smart contract using Solidity
  • use the solc compiler to compile a smart contract to generate Ethereum bytecode
  • script smart contract compilation and define the types of output required, including bytecode and ABI
  • write simple test cases using Mocha, group them into a test suite, and describe a common set of actions to run before each test case
  • develop a test case to list all accessible Ethereum accounts in a private Ethereum network
  • recall the methods of compiling Solidity code and automate contract testing using Mocha
  • Course Number:
    it_bcwketdj_05_enus

    Expertise Level
    Intermediate