Book Image

The Essential Guide to Web3

By : Vijay Krishnan
3 (1)
Book Image

The Essential Guide to Web3

3 (1)
By: Vijay Krishnan

Overview of this book

Web3, the new blockchain-based web, is often hailed as the future of the internet. Driven by technologies such as cryptocurrencies, NFTs, DAOs, decentralized finance, and more, Web3’s aim is to give individuals more control over the web communities they belong to. Whether you’re a beginner or an experienced developer, this book will help you master the intricacies of Web3 and its revolutionary technologies. Beginning with a concise introduction to blockchain and the Ethereum ecosystem, this book quickly immerses you in real-world blockchain applications. You’ll work on carefully crafted hands-on exercises that are designed for beginners as well as users with prior exposure. The chapters show you how to build and deploy smart contracts, while mastering security controls and discovering best practices for writing secure code. As you progress, you’ll explore tokenization and gain proficiency in minting both fungible and non-fungible tokens (NFTs) with the help of step-by-step instructions. The concluding chapters cover advanced topics, including oracles, Layer 2 (L2) networks, rollups, zero knowledge proofs, and decentralized autonomous organizations (DAOs). By the end of this Web3 book, you’ll be well-versed in the Web3 ecosystem and have the skills to build powerful and secure decentralized applications.
Table of Contents (25 chapters)
Free Chapter
1
Part 1 – Introduction to Web3
5
Part 2 – All about Smart Contracts
9
Part 3 – Writing Your DApps for Web3
12
Part 4 – Fungible Tokens
15
Part 5 – Non-Fungible Tokens
18
Part 6 – Web3 Advanced Topics

What this book covers

Chapter 1, Fundamentals of Blockchain and Web3, introduces the basic concepts in blockchain and Web3.

Chapter 2, Getting Started with Ethereum, offers an extensive overview of Ethereum, concepts, managing keys, wallets, and the state of Ethereum.

Chapter 3, Your First Ethereum Transaction, introduces Hardhat, preparing wallets, initiating a transfer, and verifying the results of transactions.

Chapter 4, Introduction to Smart Contracts, provides a detailed deep dive into Solidity smart contracts, writing a “Hello World” contract, and getting started with Hardhat.

Chapter 5, Creating and Deploying Your First Smart Contract, is a hands-on walk-through on writing a smart contract, compiling, creating ABIs, deploying, verifying, and debugging.

Chapter 6, Smart Contract Security and Access Controls, explores some of the smart contract security issues, access controls, and using tools to audit smart contracts.

Chapter 7, Developer Tools and Libraries for Web3 Development, examines Web3 developer stacks, Ethereum clients, Infura, and IPFS.

Chapter 8, Writing and Testing Your First dApp on Web3, offers a hands-on walk-through to create and deploy your first Dapp in Web3.

Chapter 9, Introduction to Tokenization, introduces the concept of tokenizing real-world objects as tokens, looking at some of the common token standard uses and tokenization use cases.

Chapter 10, Creating Your First Token, provides a hands-on example of creating your first ERC-20 token, minting tokens and testing it.

Chapter 11, Non-Fungible Token Standards, explores the most common standards for an NFT, including ERC-721 and ERC-1155.

Chapter 12, Creating Your First Non-Fungible Token, offers a hands-on example of creating your first NFT, minting it, and adding it to a wallet.

Chapter 13, Understanding Oracles, introduces the concept of oracles, the oracle problem in Web3, an example of Chainlink as an oracle service, and running a Chainlink oracle node.

Chapter 14, Zero-Knowledge Proofs and Zero-Knowledge EVMs, covers the basics of zero-knowledge proofs and zero-knowledge Ethereum virtual machines.

Chapter 15, L2 Networks and Rollups, discusses L2 networks, how Polygon works, and rollups.

Chapter 16, Decentralized Autonomous Organizations – Overview, introduces several important concepts and provides an overview of DAOs.