目錄(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
推薦閱讀
- 跨境電子商務
- 淘寶 天貓 微店賺錢從入門到精通:開店、裝修、推廣、管理、安全一本就夠
- 互聯網+餐飲:一本書讀懂餐飲新趨勢
- 電子商務概論(第4版)
- 微商開店與運營一冊通:技巧+工具+實踐
- 跨境電商零創平臺實用教程
- 淘寶網店頁面設計、布局、配色、裝修一本就夠(最新實戰版)
- 移動支付這么玩就對了
- 贏在運營:互聯網用戶、社群、社區運營
- 玩賺微信視頻號:賬號運營+爆款打造+文案寫作+引流變現
- SEO網站營銷推廣全程實例(第2版)
- 區塊鏈很簡單:鏈圈入門與生存指南
- 電子商務安全(第2版)
- 電子商務專業辦學特色的探索與實踐
- O2O實踐:互聯網+戰略落地的O2O方法
- 超實用的電商財稅200問
- 從零開始學今日頭條運營和推廣
- 抖音+門店:品牌營銷、推廣引流、團購帶貨、直播賣貨一本通
- 一本書讀懂社區O2O
- 眾包平臺中的欺詐檢測與風險預警
- 淘寶天貓、拼多多開店與運營一本通
- 電子商務文案:策劃寫作、視覺營銷與平臺推廣
- 轉化率:淘寶天貓運營100招
- 互聯網+戰略思維:傳統企業O2O改造與落地
- 淘寶網店運營實用教程(美工篇)
- 區塊鏈+:從全球50個案例看區塊鏈的應用與未來
- 社群電商:新零售時代下的電商變革
- 電商創業:基礎、案例與方法(O2O 創新版)
- 我是微商4:閃電百萬富翁內訓實錄
- 移動互聯網時代的6堂淘金課:現在,下載你的未來