𝔖 Scriptorium
✦   LIBER   ✦

📁

Getting Started with Ethereum: A Step-by-Step Guide to Becoming a Blockchain Developer

✍ Scribed by Davi Pedro Bauer


Publisher
Apress
Year
2022
Tongue
English
Leaves
141
Edition
1
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Synopsis


Get started with blockchain development with this step-by-step guide. This book takes you all the way from installing requisite software through writing, testing, and deploying smart contracts.
Getting Started with Ethereum delves into technologies most closely associated with Ethereum, such as IPFS, Filecoin, ENS, Chainlink, Truffle, Ganache, OpenZeppelin, Pinata, Fleek, Infura, Metamask, and Opensea. Author Davi Bauer walks you through project creation, how to compile projects and contracts, configure networks, and deploy smart contracts on blockchains. He then covers smart contracts, including deploying and verifying them. This book approaches blockchain in a way that allows you to focus on the topic that most interests you, covering Ethereum-related technologies broadly and not just focusing on Solidity.
This hands-on guide offers a practical rather than conceptual approach get you coding. Upon completing this book, you will be able to confidently develop and deploy smart contracts on blockchains.
Source code can be found at https://github.com/Apress/getting-started-ethereum.
What You Will Learn

  • Understand tokenization of assets, including NFTs, using Ethereum
  • Host censorship-resistant applications using IPFS
  • Deploy on second-layer blockchains using Polygon
  • Deploy smart contracts with multiple technologies around Ethereum

Who Is This Book ForOff-chain developers who want to migrate to on-chain development starting with the Ethereum blockchain and the technologies around it. Prior programming knowledge and conceptual understanding of blockchain is necessary.

✦ Table of Contents


Table of Contents
About the Author
About the Technical Reviewer
Introduction
Chapter 1: Getting Started
What Is Ethereum?
Installing Visual Studio Code
Installing Docker
Installing the Blockchain Dev Kit Extension on VS Code
Installing the Extension
Installing Truffle
Installing Truffle
Checking Truffle Installation
Installing the Ganache CLI
Installing Ganache
Starting Ganache Locally
Installing and Setting Up MetaMask Wallet
Installing the Wallet
Configuring the Wallet
Accessing Your Wallet
Discovering Your Wallet Address
Create an Account on Infura
Creating a New Account
Setting Up Your Infura Project
Summary
Chapter 2: Solidity
Getting Started with the Solidity Project on VS Code
Creating a New Project
Compiling the Project
Deploying to a Development Blockchain
Summary
Chapter 3: ERC-20: Fungible Tokens
Write a Simple ERC-20 Token Using OpenZeppelin
Preparing the Environment
Writing the Contract
Setting the Solidity Compiler Version
Compiling the Contract
Verifying the Result
Deploy the ERC-20 Token to the Ganache Development Blockchain
Preparing the Migration
Starting the Blockchain
Configuring the Blockchain Network
Deploying the Contract
Adding Ganache to MetaMask Networks
Adding the Token to a Wallet
Create an ERC-20 Token with a Fixed Supply
Creating the Project
Writing a Fixed Supply Contract
Compiling the Contract
Starting the Ganache Development Blockchain
Migrating the Contract to Ganache
Configuring MetaMask
Adding the Token to MetaMask
Transferring Tokens Between Accounts
Deploy the ERC-20 Token to a Testnet Using Infura
Installing the Prerequisites
Setting Up Your Infura Project
Setting Up Your Smart Contract
Configuring the Private Key
Deploying the Smart Contract
Checking Your Wallet Balance
Verifying the Smart Contract on Etherscan
Deploy the ERC-20 Token to the Polygon Testnet (Layer 2)
Installing the Prerequisites
Adding Polygon Mumbai to MetaMask Networks
Activating the Polygon Add-on on Infura
Setting Up Your Infura Project
Setting Up Your Smart Contract
Configuring the Network (Using the Matic Endpoint)
Configuring the Network (Using the Infura Endpoint)
Configuring the Private Key
Deploying the Smart Contract
Checking Your Wallet Balance
Verifying the Smart Contract on PolygonScan
Deploy the ERC-20 Token to the Polygon Mainnet (Layer 2)
Adding the Polygon Mainnet to MetaMask Networks
Configuring the Network (Using the Infura Endpoint)
Deploying the Smart Contract
Checking Your Wallet Balance
Verifying the Smart Contract on PolygonScan
Summary
Chapter 4: Unit Tests for Smart Contracts
Writing Unit Tests for ERC-20 Smart Contracts
Creating a New Unit Test File
Writing a Test for the Total Supply Contract
Writing Test Assertions for the Balance Contract
Running the Unit Tests
Checking the Unit Test Results
Summary
Chapter 5: ERC-721 Nonfungible Tokens
Create Your Art NFT Using Ganache and OpenZeppelin
Creating the Project
Configuring the Wallet to Sign Transactions
Configuring the Network
Configuring the Solidity Compiler
Configuring the Private Key
Creating the Badge Image
Adding the Badge to Your Local IPFS
Pinning the Badge to a Remote IPFS Node
Creating the Badge Metadata
Compiling the Smart Contract
Migrating the Smart Contract
Instantiate the Smart Contract
Awarding a Badge to a Wallet
Checking a Badge on Etherscan
Adding the NFT Token to Your Wallet
Sell Your Art NFT on OpenSea
Connecting to OpenSea
Viewing Your Badge
Listing Your Badge for Sale
Exploring Listing Details
Summary
Chapter 6: Faucets
Getting Test Ether from the Faucet on the Ropsten Network
Accessing the Faucet
Waiting for the Transaction
Getting Test Ether from the Faucet on the Rinkeby Testnet
Preparing for Funding
Funding Your Wallet
Checking Your Wallet
Getting Test MATIC from the Faucet on the  Mumbai Testnet
Preparing for Funding
Funding Your Wallet
Checking Your Wallet
Getting the Test MATIC from the Faucet on the Mainnet
Preparing for Funding
Funding Your Wallet
Checking Your Wallet
Summary
Chapter 7: InterPlanetary File System
Create Your IPFS Node
Installing the Node
Configuring the Node
Testing the Node
Exploring Your IPFS Node
Add Files to the IPFS
Adding the File
Viewing the File Content on the Console
Checking the File in the Web UI
Viewing the File Content in a Browser
Set Up the IPFS Browser Extension
Installing the Browser Extension
Configuring the Node Type
Starting an External Node
Importing a File
Pin and Unpin IPFS Files on the Local Node
Starting Your Local Node
Adding a File to Your Node
Checking the File Was Added
Verifying Your File Was Pinned
Unpinning Your File
Pinning Your File Manually
Pin and Unpin Files on a Remote Node Using Pinata
Setting Up API Keys on Pinata
Setting Up Pinata as a Remote Service on Your Terminal
Adding a New File to Your Local IPFS Node
Pinning Your File to the Remote IPFS Node
Unpinning Your File from the Remote IPFS Node
Host Your Site on IPFS Using Fleek
Logging In on Fleek
Cloning Your Existing Repository
Installing Fleek
Initializing Fleek
Deploying Your Site
Summary
Chapter 8: Filecoin
How to Preserve Files on the Filecoin Local Node
Creating the Project
Configuring Truffle
Adding an Image to Be Preserved
Installing Dependencies
Starting Local Endpoints
Preserving Files to Filecoin
Summary
Chapter 9: Ethereum Name Service
Register Your ENS to Receive Crypto, Tokens, or NFTs in Your Wallet
Searching for Your Domain Name
Registering Your Name
Managing Your Registration Name
Checking the Name Resolution
Summary
Chapter 10: Chainlink
Get Crypto Prices Inside Smart Contracts Using Chainlink Oracles
Creating the Project
Creating the Smart Contract
Creating the Migration
Setting Up Your Infura Project
Configuring the Wallet to Sign Transactions
Configuring the Network
Configuring the Solidity Compiler
Configuring the Private Key
Compiling the Smart Contract
Deploying the Smart Contract
Getting the Price Information from the Smart Contract
Summary
Chapter 11: Nethereum
Getting Your Ether Balance Using Nethereum
Creating the Project
Installing Web3
Creating the Method
Getting the Balance
Summary
Chapter 12: Conclusion
Index


📜 SIMILAR VOLUMES


Getting Started with Ethereum: A Step-by
✍ Davi Pedro Bauer 📂 Library 📅 2022 🏛 Apress 🌐 English

<span>Get started with blockchain development with this step-by-step guide. This book takes you all the way from installing requisite software through writing, testing, and deploying smart contracts.<br></span><span>Getting Started with Ethereum</span><span> delves into technologies most closely ass

Learn to Burn: A Step-by-Step Guide to G
✍ Simon Easton 📂 Library 📅 2013 🏛 Fox Chapel Publishing 🌐 English

<p>This easy-to-learn introduction to the art of pyrography offers fourteen step-by-step projects for making decorative gifts&#8212;from coasters and picture frames to bangles, decorative plates, and door hangers&#8212;illustrated with clear how-to photographs. Each pyro project can be completed usi

Act Now!: A Step-by-Step Guide to Becomi
✍ Peter Jazwinski 📂 Library 📅 2007 🏛 Crown 🌐 English

So, you want to be an actor . . . but you have no idea how to get started. In the pages of <b>Act Now!</b>, you&#8217;ll find a step-by-step process to show you not only how to get started, but also how to become a working actor. It will take time and commitment, but if you follow these steps you wi

Raspberry Pi: A Step-by-Step Guide to st
✍ Kit Reyes 📂 Library 🌐 English

<h4></h4><h4></h4><h4><span><u>◆Want to learn about raspberry pi?<br><br><br>◆Looking to become a pro in raspberry pi programming?<br><br><br>✓Then you have come to the right place</u></span></h4><h5><span><br><br></span><span><u>If you are a newbie, you may use the guidebook provided by Raspberry P