售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
About Packt
Why subscribe?
Packt.com
Contributors
About the author
About the reviewers
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Download the color images
Conventions used
Get in touch
Reviews
Section 1: Blockchain - Ethereum Refresher
Blockchain Architecture
Beyond Ethereum
Explaining Ethereum
Ethereum's history
Ethereum's development
The EEA
The EEA's vision
The EEA membership
The EEA architecture
Understanding the Ethereum blockchain
The reasoning behind a decentralized blockchain
The blockchain as a set of nodes
The CAP theorem
Introducing the Ethereum Virtual Machine
Introducing the state machine
The P2P network
Consensus rules
Proof-of-work
Proof-of-stake
Workings of smart contracts
Smart contract deployment process
Ethereum transactions
Essential smart contract programming
Solidity
File structure
Variables
Visibility of variables
Uints
Addresses
Strings and bytes
Structs
Enums
Booleans
Arrays
Mappings
Data location
Events
Modifiers
Functions
The fallback function
Vyper
Vyper by example
Summary
Ethereum Ecosystems
Introducing the Ethereum chain specification
The genesis object
Blockchain technology
Application layer
Infrastructure layer
Mining layer
Peer-to-peer layer
Understanding DEVP2P
Blockchain consensus
Introducing blockchain consensus
Envisioning the future
The nothing-at-stake problem
Blockchain economics
Understanding inflation
Evaluating cryptocurrency economics
Determining the value of cryptocurrencies
Ethereum-based tokens
Blockchain metrics
Number of transactions
Address growth
Ether market capitalization
Developer adoption
Miner activity
Summary
Ethereum Assets
Ethereum protocol implementations
Protocol implementations
Understanding Geth
Creating accounts
Downloading the blockchain
Mining with your CPU
Parity
Downloading the blockchain
Creating accounts
Mining with your CPU
Best scenario for each protocol
Smart contract development
Managing accounts
Other use cases
INFURA essentials
Understanding INFURA
Inner workings of INFURA
Using INFURA's dashboard
Decentralized autonomous organizations
Explaining DAOs
Operating within a DAO
Tooling for DAOs
Miscellanea and concerns
Understanding Ethereum improvement proposals
Differentiating the usage of Truffle and IDEs
Understanding smart contract limitations
Creating your own private Ethereum network
Setting up a private blockchain on Mac
Setting up a private blockchain on Windows
Choosing a wallet for Ethereum
Understanding the concept of an Ethereum wallet
Explaining online wallets
Choosing MyEtherWallet
Using MetaMask
Understanding hardware wallets
Using Ledger
Using Trezor
Learning to use multi-signature wallets
Using Etherscan for transactions
Understanding block explorers
Using Etherscan for analyzing transactions
Creating accounts
Creating accounts with MetaMask
Creating an account with Coinbase
Summary
Section 2: Decentralized Application Development Workflow
Mastering Smart Contracts
Getting up to speed
Planning the marketplace idea
Designing the code in Solidity
Deploying your smart contract with Truffle
The EVM in depth
Explaining the EVM
Operation of smart contracts in the EVM
Upgradable and scalable smart contracts
Upgradable smart contracts
Storage smart contracts
Upgradable smart contracts
Proxy smart contracts
Scalable smart contracts
Using state channels for scalable smart contracts
Gas and data-efficient smart contracts
Making gas-efficient smart contracts
Making data-efficient smart contracts
Smart contract security analysis
Techniques to secure a smart contract
Summary
Mastering dApps
Introducing dApp architecture
Installing Ethereum and Truffle
Setting up and configuring Ethereum and Truffle
Installing the required packages
Setting up webpack
Setting up the source folder
Creating dApps
Creating the smart contract
Creating user interfaces
Connecting smart contracts to web applications
Designing the setup form
Implementing the setup function
Summary
Tools, Frameworks, Components, and Services
Using developer tools
Development frameworks
Integrated development environments
Testnet faucets
Understanding Ethereum communication tools
Frontend Ethereum APIs
Backend Ethereum APIs
Application binary interface tools
Making sense of the Ethereum infrastructure
Ethereum clients
Ethereum storage
Ethereum messaging
Learning Ethereum testing and securing tools
Understanding monitoring utilities
Using security testing utilities
Understanding auditing tools
Getting important open source libraries
ZeppelinOS
Using the 0xprotocol
Building a relayer
Becoming market makers
Aragon
AragonPM
AragonOS
AragonJS
AragonUI
AragonCLI
Summary
Deployment on Testnet
Using Ropsten for smart contract development
Features of Ropsten
Getting Ropsten Ether
Understanding Rinkeby with proof-of-authority
Describing proof-of-authority
Getting Rinkeby Ether
Using Kovan for smart contract development
Getting Kovan Ether
Introducing the Mainnet
Summary
Various dApps Integrations
Better React applications
Organizing components properly
Generating components dynamically
Starting up projects faster
Scalable Node.js backends with NGINX
Creating a Node.js server
Getting a hosting solution
Setting up your server on a VPS hosting
Getting a domain name
Setting up NGINX
Adding SSL security
Better web3.js dApps
Setting up a fixed web3.js version
Creating helper functions
Promisifying your functions
Listening to events with web3.js
Building your own Oracles
Building a random generation Oracle
Improving your development workflow
Summary
Decentralized Exchanges Workflow
Introducing decentralized exchanges
Cons of DAXs
Pros of DAXs
Essential trading terms
Understanding the trading and matching engine
Managing cryptocurrency wallets and cold storage
Building the user interface
Building the Ethereum backend
Finishing the dApp
Summary
Section 3: Ethereum Implementations
Machine Learning on the Ethereum Blockchain
Understanding machine learning
Decentralized machine learning marketplaces
Building a smart contract machine learning marketplace
The prediction function
The cost function
The optimization algorithm
The train function
Summary
Creating a Blockchain-based Social Media Platform
Understanding decentralized social media
The initial concept
Creating the user interface
Configuring the webpack style
Setting up the initial structure
Rendering hashtags
Improving the appearance
Building the smart contract
Planning the design process
Setting up the data structures
Documenting the future functions
Implementing the adding content function
Creating the promotion engine
Implementing the getter functions
Finishing the dApp
Setting up the smart contract instance
Decentralizing your data
Creating the hashtag component
Creating the hashtag getter
Creating the publishing functionality
Summary
Creating a Blockchain-Based E-Commerce Marketplace
Creating the user interface
Planning the marketplace interface
Setting up the index page
Configuring the webpack dev server
Creating the Header component
Creating the Home component
Creating the Product component
Creating the Sell component
Creating the Orders component
Understanding ERC-721 tokens
Explaining the ERC-721 functions
The ERC-721 smart contract
Developing the e-commerce smart contract
Creating the publish function
Creating the buy function
Creating the mark orders function
Creating the getter functions
Deploying the smart contract
Finishing the dApp
Setting up the contract instance
Updating the index file
Updating the Buy component
Updating the Sell component
Updating the Orders component
Summary
Other Books You May Enjoy
Leave a review - let other readers know what you think
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜