Ethereum Smart Contracts with Solidity: Ether Transfer Operations in Solidity


Overview/Description
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description

Transferring Ether between Ethereum accounts is the fundamental financial transaction performed by smart contracts for you Blockchain solutions. This detailed, 13-video course continues exploring Ethereum’s use of Solidity language by examining the more advanced functions included in smart contracts, specifically the payable functions which allow the contract to receive Ether. Participants explore the use of fallback functions, the simplest forms of payable functions, and then define their own payable functions. Learn what happens when a smart contract has lived out its life and it needs to be destroyed; the Ether it still holds must be handed to another account and the original contract destroyed, but how? Explore the special function called selfdestruct, which deletes the smart contract from the Ethereum network. By the end of this course, you should have acquired a productive understanding of how assignment operations work depending on whether the variables on either side have been created in storage or memory.



Expected Duration (hours)
1.5

Lesson Objectives

Ethereum Smart Contracts with Solidity: Ether Transfer Operations in Solidity

  • outline the key concepts covered in this course
  • use a fallback function to allow a smart contract to receive Ether
  • define a smart contract to send Ether from your contract to another Ethereum account using the transfer function
  • demonstrate how to invoke a function to transmit Ether to a specified Ethereum account
  • create a fallback function to transfer received Ether to another account
  • recognize how the gas limit restricts the operations which can be performed from a fallback function
  • use the selfdestruct function to delete a smart contract from the Ethereum network
  • define arrays in Solidity and access and set specific elements within them
  • verify conditions in a smart contract using the require and assert clauses
  • recognize the effects of provisioning variables in memory or storage during assignment operations
  • distinguish between value and reference types in the Solidity language
  • identify which variable types need their storage locations to be explicitly specified
  • recognize how to use fallback functions, value, and reference types to define smart contracts to transfer ether
  • Course Number:
    it_bccscsdj_05_enus

    Expertise Level
    Intermediate