Cargando…

A Brief Introduction to Web3 : Decentralized Web Fundamentals for App Development.

Journey into the world of Web3-based application development, its related protocols, and its usage in developing decentralized applications. This book will explain how programmable blockchains are revolutionizing the world of web applications, which can be run on decentralized platforms or peer-to-p...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Jain, Shashank Mohan
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Berkeley, CA : Apress L. P., 2023.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • Intro
  • Table of Contents
  • About the Author
  • About the Technical Reviewer
  • Introduction
  • Chapter 1: Decentralization and Web3
  • 1.1 Web 1.0
  • 1.2 Web 2.0
  • 1.3 Web 3.0
  • 1.3.1 Introduction to Decentralization
  • 1.3.2 Different Topologies for Networks
  • 1.3.2.1 Centralized and Non-distributed
  • 1.3.2.2 Centralized but Distributed
  • 1.3.3 Decentralized Systems
  • 1.3.4 Web3 Case Study
  • 1.4 Summary
  • Chapter 2: Blockchain
  • 2.1 Types of Blockchains
  • 2.1.1 Public Blockchain
  • 2.1.2 Private Blockchain
  • 2.1.3 Permissioned Blockchain
  • 2.2 What Is a Blockchain?
  • 2.3 Blockchain Building Blocks
  • 2.3.1 Block
  • 2.3.2 Chain
  • 2.3.3 Network
  • 2.4 Where Is Blockchain Used?
  • 2.5 Evolution
  • 2.6 Consensus
  • 2.6.1 Proof of Work
  • 2.6.2 Proof of Stake
  • 2.7 Blockchain Architecture
  • 2.8 Cryptographic Keys
  • 2.9 Blockchain Compared to a Singly Linked List
  • 2.10 Ethereum
  • 2.11 Summary
  • Chapter 3: Solidity
  • 3.1 What Is Solidity?
  • 3.2 Ethereum
  • 3.2.1 Ethereum Virtual Machine
  • 3.3 Smart Contracts
  • 3.4 Making Sense of Solidity Syntax
  • 3.4.1 Pragma
  • 3.4.2 Variables
  • 3.4.2.1 Variable Naming
  • 3.4.2.2 Scope of Variables
  • 3.4.3 Value Types
  • 3.4.4 Address
  • 3.4.5 Operators in Solidity
  • 3.4.5.1 Arithmetic Operator
  • 3.4.5.2 Comparison Operator
  • 3.4.5.3 Logical Operators
  • 3.4.5.4 Assignment Operators
  • 3.4.6 Loops
  • 3.4.7 Decision Flows
  • 3.4.8 Functions in Solidity
  • 3.4.8.1 Function Modifiers
  • 3.4.8.2 View Functions
  • 3.4.8.3 Pure Functions
  • 3.4.8.4 Fallback Function
  • 3.4.8.5 Function Overloading in Solidity
  • 3.4.9 Abstract Contracts
  • 3.4.10 Interface
  • 3.4.11 Libraries
  • 3.4.12 Events
  • 3.4.13 Error Handling in Solidity
  • 3.4.14 Solidity and Addresses
  • 3.4.14.1 Ethereum Address
  • 3.4.14.2 Usage of Addresses in Solidity
  • 3.4.14.3 Balance Method
  • 3.4.14.4 Transfer Function
  • 3.4.14.5 Contract-related Functions
  • 3.4.14.6 Gas in Ethereum
  • 3.4.14.7 Ethereum Transaction Costs
  • 3.5 Summary
  • Chapter 4: Wallets and Gateways
  • 4.1 Types of Wallets
  • 4.2 So, What Is a Testnet ?
  • 4.3 MetaMask
  • 4.3.1 Installation
  • 4.4 Web3.js
  • 4.4.1 web3-eth
  • 4.4.2 web3-shh
  • 4.4.3 web3-bzz
  • 4.4.4 web3-net
  • 4.4.5 web3-utils
  • 4.5 Infura Setup
  • 4.5.1 Interfacing with Ropsten Network via Infura Gateway
  • 4.6 Summary
  • Chapter 5: Introduction to Remix IDE
  • 5.1 Remix IDE
  • 5.2 Creating Own Token
  • 5.3 Summary
  • Chapter 6: Truffle
  • 6.1 Truffle Installation
  • 6.1.1 Installing Node
  • 6.1.2 Install Truffle
  • 6.2 Smart Contract Deployment via Truffle
  • 6.2.1 Contract Code
  • 6.2.2 Compile and Deploy the Contract
  • 6.3 Summary
  • Chapter 7: IPFS and NFTs
  • 7.1 IPFS
  • 7.1.1 IPFS: 30,000-Foot View
  • 7.1.2 Installation
  • 7.2 ERC-721
  • 7.3 Creating an ERC-721 Token and Deploying It to IPFS
  • 7.4 Summary
  • Chapter 8: Hardhat
  • 8.1 Installation of Hardhat Framework
  • 8.2 Workflow for Hardhat
  • 8.3 Deployment of the Smart Contract