Assessments

In this section, you will find answers to questions from the chapters.

Chapter 1, Introduction to Blockchain, Ethereum, and Smart Contracts 

  1. Proof of work and proof of stake
  2. ABI and bytecode 

Chapter 2, Installing Ethereum and Solidity 

  1. Miner.setEtherbase().
  2. Personal.newAccount().
  3. MetaMask is a software wallet to store Ether as well as any ERC20-based token. 
  4. ganache-cli is a lightweight Ethereum implementation typically used for DevTest purposes instead of for use on the actual test or main network. 

Chapter 3, Introducing Solidity 

  1. mapping
  2. No 
  3. Arrays, structs, and mappings 

Chapter 4, Global Variables and Functions 

  1. Tx.origin
  2. Private, internal, and public 

Chapter 5, Expressions and Control Structures 

  1. The for loop 

Get Solidity Programming Essentials - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.