Working with Ethereum: Lifecycle of a Smart Contract

Ethereum    |    Intermediate
  • 7 videos | 45m 28s
  • Includes Assessment
  • Earns a Badge
Rating 4.6 of 7 users Rating 4.6 of 7 users (7)
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.

WHAT YOU WILL LEARN

  • 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

IN THIS COURSE

  • 2m 28s
  • 9m 4s
    During this video, you will learn how to write a simple "Hello World" smart contract using Solidity. FREE ACCESS
  • Locked
    3.  Compiling a Solidity Smart Contract
    6m 55s
    In this video, you will use the solc compiler to compile a smart contract and generate Ethereum bytecode. FREE ACCESS
  • Locked
    4.  Writing a Compile Script
    7m 21s
    In this video, you will learn how to compile a smart contract and what type of outputs are required, including bytecode and ABI. FREE ACCESS
  • Locked
    5.  The Mocha Test Framework
    7m 19s
    In this video, you will 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. FREE ACCESS
  • Locked
    6.  Integrating Mocha with Ethereum
    6m 7s
    Learn how to develop a test case to list all accessible Ethereum accounts in a private Ethereum network. FREE ACCESS
  • Locked
    7.  Exercise: The Lifecycle of a Smart Contract
    6m 14s
    Upon completion of this video, you will be able to recall the methods of compiling Solidity code and automate contract testing using Mocha. 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.

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.5 of 40 users Rating 4.5 of 40 users (40)
Rating 4.5 of 2806 users Rating 4.5 of 2806 users (2806)
Rating 3.9 of 12 users Rating 3.9 of 12 users (12)