Ethereum Smart Contracts with Solidity: Ether Transfer Operations in Solidity

Blockchain    |    Intermediate
  • 13 videos | 1h 26m 25s
  • Includes Assessment
  • Earns a Badge
Likes 16 Likes 16
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.

WHAT YOU WILL LEARN

  • 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

IN THIS COURSE

  • Playable
    1.  Course Overview
    2m 19s
  • Playable
    2.  Fallback Functions
    9m 9s
    During this video, you will learn how to use a fallback function to allow a smart contract to receive Ether. FREE ACCESS
  • Locked
    3.  Defining an Ether Transfer Function
    8m 51s
    In this video, you will learn how to define a smart contract to send Ether from your contract to another Ethereum account using the "transfer" function. FREE ACCESS
  • Locked
    4.  Invoking an Ether Transfer
    5m 59s
    In this video, you will learn how to invoke a function to transmit Ether to a specified Ethereum account. FREE ACCESS
  • Locked
    5.  Extending Fallback Functions
    8m 3s
    Learn how to create a fallback function to transfer received Ether to another account. FREE ACCESS
  • Locked
    6.  Limitations of Fallback Functions
    8m 32s
    After completing this video, you will be able to recognize how the gas limit restricts the operations which can be performed from a fallback function. FREE ACCESS
  • Locked
    7.  The selfdestruct Function
    7m 53s
    In this video, learn how to use the selfdestruct function to delete a smart contract from the Ethereum network. FREE ACCESS
  • Locked
    8.  Introducing Arrays
    5m 30s
    In this video, you will learn how to define arrays in Solidity and how to access and set specific elements within them. FREE ACCESS
  • Locked
    9.  The require and assert Clauses
    7m 3s
    Find out how to verify conditions in a smart contract using the require and assert clauses. FREE ACCESS
  • Locked
    10.  Provisioning Variables in Memory and Storage
    6m 12s
    After completing this video, you will be able to recognize the effects of provisioning variables in memory or storage during assignment operations. FREE ACCESS
  • Locked
    11.  Value and Reference Types
    6m 33s
    To learn how to distinguish between value and reference types in Solidity, consult the language's documentation. FREE ACCESS
  • Locked
    12.  Setting Provisioning Location for Reference Types
    4m 24s
    In this video, find out how to identify which variable types need their storage locations to be explicitly specified. FREE ACCESS
  • Locked
    13.  Exercise: Ether Transfer Operations in Solidity
    5m 58s
    Upon completion of this video, you will be able to recognize how to use fallback functions, value types, and reference types to define smart contracts to transfer ether. 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.