Assessments
In this section, you will find answers to questions from the chapters.
Chapter 1, Introduction to Blockchain, Ethereum, and Smart Contracts
- Proof of work and proof of stake
- ABI and bytecode
Chapter 2, Installing Ethereum and Solidity
- Miner.setEtherbase().
- Personal.newAccount().
- MetaMask is a software wallet to store Ether as well as any ERC20-based token.
- 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
- mapping
- No
- Arrays, structs, and mappings
Chapter 4, Global Variables and Functions
- Tx.origin
- Private, internal, and public
Chapter 5, Expressions and Control Structures
- 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.