Normal view MARC view ISBD view

Hands-On Blockchain Development in 7 Days : Create a Decentralized Gaming Application Using Ethereum.

By: Button, Will.
Publisher: Birmingham : Packt Publishing, Limited, ©2019Copyright date: ©2019Description: 208 p.Content type: text Media type: unmediated Carrier type: volumeISBN: 9781838640101.Genre/Form: Print books.
Contents:
Cover -- Title Page -- Copyright and Credits -- About Packt -- Contributor -- Table of Contents -- Preface -- Chapter 1: Day One - Application Introduction, Installation, and Setup -- Introduction to our application -- Installing the required tools -- Visual Studio Code -- Node.js -- Truffle framework and Ganache -- Creating our first smart contract -- Analyzing the contracts -- Testing the contract -- Understanding the basic syntax -- Code layout -- Blank lines -- Line lengths -- Function layout -- Naming conventions -- Writing your first test -- Assignment -- Summary -- Chapter 2: Day Two - Solidity Variables and Data Types -- Understanding Solidity variables -- Understanding visibility -- Data types in Solidity -- Value types -- Reference types -- Using Solidity variables -- Ether units -- Other special units -- Understanding Solidity operators -- Using Solidity operators -- Operators in our application -- Assignment -- Summary -- Chapter 3: Day Three - Implementing Business Logic in Your Smart Contracts -- Solidity functions -- Adding code to functions -- Variable scope -- Events -- Constructor -- Fallback function -- Function visibility -- Visibility in a nutshell -- View functions -- Pure functions -- Using functions to execute business logic -- Understanding modifiers -- The require function -- Assignment -- Summary -- Chapter 4: Day Four - Creating Tests -- Understanding unit tests and integration tests -- Why write tests? -- Unit tests -- Integration tests -- Testing strategies for various applications -- Testing for success -- Testing for failure -- Testing using Solidity -- Testing using JavaScript -- Creating unit tests in Solidity -- Solidity test conventions -- Multiple tests for the same function under test -- Creating integration tests in JavaScript -- Running test suites -- Assignment -- Summary.
Chapter 5: Day Five - Building a User Interface -- Understanding the role of JavaScript and React in a DApp -- Creating React apps from templates -- Pros and cons -- Displaying game state to players -- Getting player input from the UI -- Providing feedback to the player -- Implementing JavaScript promises in a networked application -- How a promise works -- Using Web3.js to communicate with the Ethereum network -- Implementing JavaScript functions in a UI -- Assignment -- Summary -- Chapter 6: Day Six - Using Wallets -- Understanding wallets and security -- Introduction to the wallet -- Types of wallets -- MetaMask -- Understanding gas price and gas limits -- Ethereum gas -- Gas price -- Viewing blockchain transactions on the Ethereum network -- Understanding online and offline wallets -- Distributed ledgers -- Multiple ledgers -- Paper wallets -- Hardware wallets -- Mobile and desktop wallets -- Injecting the Web3 provider -- Assignment -- Summary -- Chapter 7: Day Seven - Deploying to the Network -- Understanding the role of UI and smart contract -- Deploying smart contracts to the Ethereum network -- Geth -- Obtaining ether for use in test networks -- Deploying the UI to AWS -- Assignment -- Summary -- Other Books You May Enjoy -- Index.
Summary: This book will teach you to build an online gaming app using Ethereum. Each section will introduce you to blockchain programming concepts for creating an online game, followed by practical exercises that you can implement as independent assignments. You will acquire core blockchain app development skills and deploy your app to the internet.
    average rating: 0.0 (0 votes)
Current location Call number Status Date due Barcode Item holds
On Shelf QA76.9.D32 B888 2019 (Browse shelf) Available AU00000000017245
Total holds: 0

Cover -- Title Page -- Copyright and Credits -- About Packt -- Contributor -- Table of Contents -- Preface -- Chapter 1: Day One - Application Introduction, Installation, and Setup -- Introduction to our application -- Installing the required tools -- Visual Studio Code -- Node.js -- Truffle framework and Ganache -- Creating our first smart contract -- Analyzing the contracts -- Testing the contract -- Understanding the basic syntax -- Code layout -- Blank lines -- Line lengths -- Function layout -- Naming conventions -- Writing your first test -- Assignment -- Summary -- Chapter 2: Day Two - Solidity Variables and Data Types -- Understanding Solidity variables -- Understanding visibility -- Data types in Solidity -- Value types -- Reference types -- Using Solidity variables -- Ether units -- Other special units -- Understanding Solidity operators -- Using Solidity operators -- Operators in our application -- Assignment -- Summary -- Chapter 3: Day Three - Implementing Business Logic in Your Smart Contracts -- Solidity functions -- Adding code to functions -- Variable scope -- Events -- Constructor -- Fallback function -- Function visibility -- Visibility in a nutshell -- View functions -- Pure functions -- Using functions to execute business logic -- Understanding modifiers -- The require function -- Assignment -- Summary -- Chapter 4: Day Four - Creating Tests -- Understanding unit tests and integration tests -- Why write tests? -- Unit tests -- Integration tests -- Testing strategies for various applications -- Testing for success -- Testing for failure -- Testing using Solidity -- Testing using JavaScript -- Creating unit tests in Solidity -- Solidity test conventions -- Multiple tests for the same function under test -- Creating integration tests in JavaScript -- Running test suites -- Assignment -- Summary.

Chapter 5: Day Five - Building a User Interface -- Understanding the role of JavaScript and React in a DApp -- Creating React apps from templates -- Pros and cons -- Displaying game state to players -- Getting player input from the UI -- Providing feedback to the player -- Implementing JavaScript promises in a networked application -- How a promise works -- Using Web3.js to communicate with the Ethereum network -- Implementing JavaScript functions in a UI -- Assignment -- Summary -- Chapter 6: Day Six - Using Wallets -- Understanding wallets and security -- Introduction to the wallet -- Types of wallets -- MetaMask -- Understanding gas price and gas limits -- Ethereum gas -- Gas price -- Viewing blockchain transactions on the Ethereum network -- Understanding online and offline wallets -- Distributed ledgers -- Multiple ledgers -- Paper wallets -- Hardware wallets -- Mobile and desktop wallets -- Injecting the Web3 provider -- Assignment -- Summary -- Chapter 7: Day Seven - Deploying to the Network -- Understanding the role of UI and smart contract -- Deploying smart contracts to the Ethereum network -- Geth -- Obtaining ether for use in test networks -- Deploying the UI to AWS -- Assignment -- Summary -- Other Books You May Enjoy -- Index.

eBook access restricted to authorised ANU users only. ANU.

This book will teach you to build an online gaming app using Ethereum. Each section will introduce you to blockchain programming concepts for creating an online game, followed by practical exercises that you can implement as independent assignments. You will acquire core blockchain app development skills and deploy your app to the internet.

eBook access via Internet.

Copyright © 2020 Alfaisal University Library. All Rights Reserved.
Tel: +966 11 2158948 Fax: +966 11 2157910 Email:
librarian@alfaisal.edu