Get Started with Ethereum
Get Started with Ethereum
A Step-by-Step Guide from Zero to a Blockchain Developer
About the Book
This book will cover everything from installing basic requirements to writing, testing and deploying smart contracts. I will also cover topics like IPFS, Filecoin, ENS, Chainlink, Truffle, Ganache, OpenZeppelin, Pinata, Fleek, Infura, Metamask, Opensea, Polygon, among others. You will receive free updates as new content becomes available.
Table of Contents
- About this Book
- About the Author
- Pre requirements
- Install Blockchain Dev Kit Extension on VS Code
- Installing the extension
- Install Truffle
- Installing Truffle
- Checking Truffle installation
- Install Ganache CLI
- Installing Ganache
- Starting Ganache locally
- Install Docker
- Install Blockchain Dev Kit Extension on VS Code
- MetaMask
- Install and Setup MetaMask Wallet
- Installing the wallet
- Configuring the wallet
- Accessing your wallet
- Discovering your wallet address
- Install and Setup MetaMask Wallet
- Infura
- Create an Account on Infura
- Creating a new account
- Setting up your infura project
- Create an Account on Infura
- Solidity
- Get Started With Solidity Project on VS Code
- Creating a new project
- Compiling the project
- Deploying to development blockchain
- Get Started With Solidity Project on VS Code
- ERC20 Tokens
- Write a Simple ERC20 Token Using OpenZeppelin
- Preparing the environment
- Writing the contract
- Setting the Solidity compiler version
- Compiling the contract
- Verifying the result
- Deploy ERC20 Token to Ganache Development Blockchain
- Preparing the migration
- Writing the contract
- Starting the blockchain
- Configuring the blockchain network
- Deploying the contract
- Adding the token to a wallet
- Create an ERC20 Token With Fixed Supply
- Creating the project
- Writing the contract
- Starting Ganache development blockchain
- Migrating the contract
- Configuring MetaMask
- Adding the token
- Transferring tokens between accounts
- Deploy ERC20 Token to Testnet using Infura
- Installing the pre-requirements
- 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 ERC20 Token to Polygon Testnet (Layer 2)
- Installing the pre-requirements
- Adding Polygon Mumbai to MetaMask networks
- Activating the Polygon addon on infura
- Setting up your infura project
- Setting up your smart contract
- Configuring the network (using matic endpoint)
- Configuring the network (using infura endpoint)
- Configuring the private key
- Deploying the smart contract
- Checking your wallet balance
- Verifying the smart contract on polyganscan
- Deploy ERC20 Token to Polygon Mainnet (Layer 2)
- Adding Polygon Mainnet to MetaMask networks
- Configuring the network (using infura endpoint)
- Deploying the smart contract
- Checking your wallet balance
- Verifying the smart contract on polyganscan
- Write a Simple ERC20 Token Using OpenZeppelin
- Unit Tests for Smart Contracts
- Write Unit Tests for ERC20 Smart Contracts
- Creating a new unit test file
- Writing test for the contract total supply
- Writing test asserting for the contract balance
- Write Unit Tests for ERC20 Smart Contracts
- ERC721- Non-Fungible Tokens
- Create your art NFT using Ganache and OpenZeppelin
- Creating the project
- Configuring the wallet
- 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 badge to a wallet
- Checking 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
- Create your art NFT using Ganache and OpenZeppelin
- Faucets
- Get Test Ether From Faucet on Ropsten Network
- Accessing the faucet
- Waiting for the transaction
- Get Test Ether From Faucet on Rinkeby Testnet
- Preparing for funding
- Funding your wallet
- Checking your wallet
- Get Test MATIC From Faucet on Mumbai Testnet
- Preparing for funding
- Funding your wallet
- Checking your wallet
- Get Test MATIC From Faucet on Mainnet
- Preparing for funding
- Funding your wallet
- Checking your wallet
- Get Test Ether From Faucet on Ropsten Network
- IPFS - InterPlanetary File System
- Create Your IPFS Node
- Installing the node
- Configuring the node
- Testing the node
- Exploring your IPFS node
- Add Files to IPFS
- Adding the file
- Viewing the file content on the console
- Checking the file in the web ui
- Viewing the file content in the browser
- Setup IPFS Browser Extension
- Installing the browser extension
- Configuring the node type
- Starting an external node
- Importing a file
- Pin and Unpin IPFS Files on Local Node
- Starting your local node
- Adding 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 Remote Node using Pinata
- Setting up API Keys on Pinata
- Setting up Pinata as a remove 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
- Login on Fleek
- Cloning your existing repository
- Installing Fleek
- Initializing Fleek
- Deploying your site
- Create Your IPFS Node
- Filecoin
- How to preserve files on Filecoin local node
- Creating the project
- Configuring truffle
- Adding an image to be preserved
- Installing dependencies
- Starting local endpoints
- Preserving files to Filecoin
- How to preserve files on Filecoin local node
- ENS - Ethereum Name Service
- Register your ENS to Receive any Crypto, Token or NFT on Your Wallet
- Searching your domain name
- Request to register
- Managing your registration name
- Checking the name resolution
- Register your ENS to Receive any Crypto, Token or NFT on Your Wallet
- 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
- 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
- Get Crypto Prices Inside Smart Contracts using Chainlink Oracles
- Nethereum
- Get Ether Balance using Nethereum
- Creating the project
- Installing web3
- Creating the method
- Getting the balance
- Get Ether Balance using Nethereum
The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.
You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!
So, there's no reason not to click the Add to Cart button, is there?
See full terms...
Earn $8 on a $10 Purchase, and $16 on a $20 Purchase
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earnedover $14 millionwriting, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them