4

Introduction to Smart Contracts

The chapters will give you a good overview and introduction to smart contracts and also why Ethereum is called a programmable blockchain. You will learn about different language options to write smart contracts, the elements and structures of a smart contract, and the setup and tools required to write smart contracts, which sets the stage for writing your first smart contract in the next chapter.

In this chapter, we’re going to cover the following main topics:

  • Understanding smart contracts
  • Understanding a Hello World smart contract
  • Getting started with Hardhat and smart contracts

Understanding smart contracts

A blockchain smart contract can be thought of as a tiny bit of logic or code that can communicate ...

Get The Essential Guide to Web3 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.