目錄(253章)
倒序
- 封面
- 版權信息
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Customer Feedback
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Downloading the example code
- Downloading the color images of this book
- Errata
- Piracy
- Questions
- Understanding Decentralized Applications
- What is a DApp?
- Advantages of decentralized applications
- Disadvantages of decentralized applications
- Decentralized autonomous organization
- User identity in DApps
- User accounts in DApps
- Accessing the centralized apps
- Internal currency in DApps
- Disadvantages of internal currency in DApps
- What are permissioned DApps?
- Popular DApps
- Bitcoin
- What is a ledger?
- What is blockchain?
- Is Bitcoin legal?
- Why would someone use Bitcoin?
- Ethereum
- The Hyperledger project
- IPFS
- How does it work?
- Filecoin
- Namecoin
- .bit domains
- Dash
- Decentralized governance and budgeting
- Decentralized service
- BigChainDB
- OpenBazaar
- Ripple
- Summary
- Understanding How Ethereum Works
- Overview of Ethereum
- Ethereum accounts
- Transactions
- Consensus
- Timestamp
- Nonce
- Block time
- Forking
- Genesis block
- Ether denominations
- Ethereum virtual machine
- Gas
- Peer discovery
- Whisper and Swarm
- Geth
- Installing geth
- OS X
- Ubuntu
- Windows
- JSON-RPC and JavaScript console
- Sub-commands and options
- Connecting to the mainnet network
- Creating a private network
- Creating accounts
- Mining
- Fast synchronization
- Ethereum Wallet
- Mist
- Weaknesses
- Sybil attack
- 51% attack
- Serenity
- Payment and state channels
- Proof-of-stake and casper
- Sharding
- Summary
- Writing Smart Contracts
- Solidity source files
- The structure of a smart contract
- Data location
- What are the different data types?
- Arrays
- Strings
- Structs
- Enums
- Mappings
- The delete operator
- Conversion between elementary types
- Using var
- Control structures
- Creating contracts using the new operator
- Exceptions
- External function calls
- Features of contracts
- Visibility
- Function modifiers
- The fallback function
- Inheritance
- The super keyword
- Abstract contracts
- Libraries
- Using for
- Returning multiple values
- Importing other Solidity source files
- Globally available variables
- Block and transaction properties
- Address type related
- Contract related
- Ether units
- Proof of existence integrity and ownership contract
- Compiling and deploying contracts
- Summary
- Getting Started with web3.js
- Introduction to web3.js
- Importing web3.js
- Connecting to nodes
- The API structure
- BigNumber.js
- Unit conversion
- Retrieving gas price balance and transaction details
- Sending ether
- Working with contracts
- Retrieving and listening to contract events
- Building a client for an ownership contract
- The project structure
- Building the backend
- Building the frontend
- Testing the client
- Summary
- Building a Wallet Service
- Difference between online and offline wallets
- hooked-web3-provider and ethereumjs-tx libraries
- What is a hierarchical deterministic wallet?
- Introduction to key derivation functions
- Introduction to LightWallet
- HD derivation path
- Building a wallet service
- Prerequisites
- Project structure
- Building the backend
- Building the frontend
- Testing
- Summary
- Building a Smart Contract Deployment Platform
- Calculating a transaction's nonce
- Introducing solcjs
- Installing solcjs
- solcjs APIs
- Using a different compiler version
- Linking libraries
- Updating the ABI
- Building a contract deployment platform
- The project structure
- Building the backend
- Building the frontend
- Testing
- Summary
- Building a Betting App
- Introduction to Oraclize
- How does it work?
- Data sources
- Proof of authenticity
- Pricing
- Getting started with the Oraclize API
- Setting the proof type and storage location
- Sending queries
- Scheduling queries
- Custom gas
- Callback functions
- Parsing helpers
- Getting the query price
- Encrypting queries
- Decrypting the data source
- Oraclize web IDE
- Working with strings
- Building the betting contract
- Building a client for the betting contract
- Projecting the structure
- Building the backend
- Building the frontend
- Testing the client
- Summary
- Building Enterprise Level Smart Contracts
- Exploring ethereumjs-testrpc
- Installation and usage
- The testrpc command-line application
- Using ethereumjs-testrpc as a web3 provider or as an HTTP server
- Available RPC methods
- What are event topics?
- Getting started with truffle-contract
- Installing and importing truffle-contract
- Setting up a testing environment
- The truffle-contract API
- The contract abstraction API
- Creating contract instances
- The contract instance API
- Introduction to truffle
- Installing truffle
- Initializing truffle
- Compiling contracts
- Configuration files
- Deploying contracts
- Migration files
- Writing migrations
- Unit testing contracts
- Writing tests in JavaScript
- Writing tests in Solidity
- How to send ether to a test contract
- Running tests
- Package management
- Package management via NPM
- Package management via EthPM
- Using contracts of packages within your contracts
- Using artifacts of packages within your JavaScript code
- Accessing a package's contracts deployed addresses in Solidity
- Using truffle's console
- Running external scripts in truffle's context
- Truffle's build pipeline
- Running an external command
- Running a custom function
- Truffle's default builder
- Building a client
- Truffle's server
- Summary
- Building a Consortium Blockchain
- What is a consortium blockchain?
- What is Proof-of-Authority consensus?
- Introduction to parity
- Understanding how Aura works
- Getting parity running
- Installing rust
- Linux
- OS X
- Windows
- Downloading installing and running parity
- Creating a private network
- Creating accounts
- Creating a specification file
- Launching nodes
- Connecting nodes
- Permissioning and privacy
- Summary 更新時間:2021-07-02 23:45:46
推薦閱讀
- 碼上轉型:傳統企業互聯網+實戰
- 電商多平臺美工實戰:淘寶、京東、拼多多(全彩)
- 數據化運營管理
- 從0到1學做自媒體運營
- 玩轉大數據:商業分析+運營推廣+營銷技巧+實戰案例
- 電子商務基礎與應用教程
- 網絡人的未來:移動互聯網和大數據時代的100個預言
- 餐飲電商營銷
- 電商消貧
- 微商團隊長操盤運營手冊
- 移動電商:商業分析+模式案例+應用實戰(第2卷)
- 淘寶網店深度SEO優化技術揭秘:網店流量高效轉化
- 新媒體營銷與運營:從入門到精通(微課版)
- 引爆流量:公域引流與私域裂變實戰手冊
- 電子商務物流管理
- 電子商務安全(第2版)
- 電子商務理論與實務(第2版)
- 直播:平臺商業化風口
- 運營有道:重新定義互聯網運營
- 新淘寶運營制勝
- 網店客服:職場菜鳥28天逆襲記
- 區塊鏈與產業創新:打造互聯互通的產業新生態
- 網店營銷推廣從入門到精通
- 小程序這樣運營才賺錢
- 吉林省生產性服務業的產業關聯和影響因素研究
- Wish官方運營手冊:開啟移動跨境電商之路(第2版)
- 電子商務基礎與實踐
- 微信公眾平臺運營一本通:圖文顏值美化+吸粉引流方法+賺錢贏利技巧
- 網絡營銷:理論、工具與方法(微課版 第2版)
- 抖音營銷138招:一本書教會你玩賺抖音