Cargando…

Blockchain Quick Start Guide : a Beginner's Guide to Developing Enterprise-Grade Decentralized Applications.

Blockchain technology is giving birth to new business models, inspiring communities to build economies on a decentralized network. This book will be your practical guide to get you up and running with concepts of building your very own Blockchain network. You will get a thorough understanding of how...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Wu, Xun (Brian)
Otros Autores: Sun, Weimin
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt Publishing Ltd, 2018.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover; Title Page; Copyright and Credits; About Packt; Contributors; Table of Contents; Preface; Chapter 1: Introduction to Blockchain Technology; The genealogy analogy; Bitcoin; Why Bitcoin; A peer-to-peer network; Cryptography and hash functions; The distributed ledger, blocks, transactions, addresses, and UTXO; The consensus mechanism; Forking; Mining and difficulty level; Hacking
  • the 51% problem; Private keys and Bitcoin wallets; Bitcoin scripting; Altcoins; Ethereum; Enterprise blockchain
  • Hyperledger; The evolution of blockchain; Summary; Chapter 2: Ethereum Fundamentals
  • An overview of EthereumEthereum basic concepts; Ether; ERC20 tokens; Smart contracts; Ethereum virtual machines; Ethereum gas; Account; Oracle; Other concepts; Performance; Throughput; Proof-of-Stake (PoS); Casper; Plasma; Sharding; Summary; Chapter 3: Overview of Solidity Programming; What is solidity?; Tools for solidity development environment; Browser-based IDE; Remix; EthFiddle; Command-line development management tools; Truffle; Introduction to smart contracts; Layout of a solidity source file; Pragma; Comments; Import; Paths; Relative paths; Structure of a contract; State variables
  • Data typeEnum type; Struct type; Mapping; Functions; Input parameters; Access modifiers; Output parameters; Modifiers; Events; Constructor; Constant state variables, unit, and functions; Ether units; Time units; Inheritance, abstract, and interface; Common smart contract patterns; Access restriction; State machine; Smart contract security; Keep contract simple and modular; Use the checks-effects-interactions pattern; DoS with block gas limit; Handle errors in external calls; Case study
  • crowdfunding campaign; Summary; Chapter 4: Building an Ethereum Blockchain Application
  • Decentralized application overviewweb3.js quick overview; Provider; DApp development tools; Truffle; Ganache; Setting up an Ethereum development environment; Installing Truffle; Installing Ganache; Creating a Truffle project; Launching the Ganache environment; Deploying a smart contract; Writing a campaign decentralized application; Selecting a web3 provider; Loading account information; Loading project information; Handling the fund function; checkGoalReached; Summary; Chapter 5: Exploring an Enterprise Blockchain Application Using Hyperledger Fabric; Key concepts in Hyperledger Fabric
  • LedgerChaincode; Channel; Core component model; Peers; Membership service provider (MSP); Certificate authority (CA); Ordering service; Hyperledger Fabric basic transaction flow; Issuance claim; Setting up a Hyperledger Fabric environment; Installation prerequisites; Installing Hyperledger Fabric; Writing chaincode; Development tools; LiteIDE ; JetBrains Gogland; Visual Studio Code; Chaincode key concept and APIs; Defining an issuance claim; Initializing the chaincode; Invoking the chaincode; AddCompany; ReportLost; RequestedInfo; SubmitClaim, ConfirmClaimSubmission, ApproveClaim; Query