Limit search to available items
Record 36 of 39
Previous Record Next Record
Book Cover
E-book
Author Chittoda, Jitendra, author

Title Mastering blockchain programming with Solidity : write production-ready smart contracts for Ethereum Blockchain with Solidity / Jitendra Chittoda
Published Birmingham, UK : Packt Publishing, [2019]
©2019

Copies

Description 1 online resource (474 pages)
Contents Cover; Title Page; Copyright and Credits; Dedication; About Packt; Foreword; Contributors; Table of Contents; Preface; Section 1: Getting Started with Blockchain, Ethereum, and Solidity; Chapter 1: Introduction to Blockchain; Understanding blockchain; Blockchain solves the double-spending problem; Properties of blockchain; Distributed ledger; Fault tolerance; Attack resistance; Remove intermediaries; Consensus protocol; Faster settlement; Lower transaction fees; Transparency; Immutability; Irreversible transactions; Trust in the network; Artificial trust; Trustless systems; Availability
Empower individualsChronological order of transactions; Timestamped; Sealed with cryptography; When to use blockchain; When not to use blockchain; Blockchain is slow; Blockchain depends on off-chain oracles; Existing implementations of blockchain; Cross-border payments; Decentralized cloud storage; Decentralized computing; Introduction to Ethereum; Ethereum is for writing decentralized applications; Ethereum architecture; P2P networks; Nodes; Full nodes; Lightweight nodes; Miners; Blocks; Ethereum Virtual Machine (EVM); Ether currency; Smallest unit -- wei; Gas; Gas limit; Gas price; Formulas
ExampleEthereum accounts; Externally owned accounts; Contract accounts; The difference between an EOA and a contract; Ethereum transaction; Transaction fields; From; To; Value; Gas limit; Gas price; Nonce; Data; Transaction hash; Transaction status; Pending status; Success status; Fail status; Dropped status; Transaction operations; Replace/update; Cancel; Testnets; Smart contracts; Immutable code; Irreversible transactions; Think twice before deploying; Limited storage; Every transaction consumes gas in ether; Playing with ether or tokens; Summary; Questions
Chapter 2: Getting Started with SolidityIntroduction to the Solidity language; The layout of a Solidity source file; Solidity version with pragma; Importing other source files; Structure of a contract; Declaring state variables; Writing function definitions; Creating a custom modifier using function modifiers; Using events for logging and callback; Custom data types with struct; Custom types for constants with enum; Solidity data types; Understanding Solidity value types; Integer value type; Boolean value type; Address value type; Reading a contract's ether balance
Sending ether using transferSending ether using send; Understanding call and delegatecall functions; Understanding the staticcall function; Adjust gas for a transaction using gas; Forwarding ether to another contract; Changes in Solidity version 0.5.0; Fixed size byte arrays; Dynamically sized byte arrays; Understanding the bytes data type; Understanding the string type; Passing functions using function types; Get a function type with function selector; Using internal function types; Using external function types; Solidity reference types; Understanding variables' data locations in Solidity
Summary With this book, you will learn to write production-ready smart contracts for the Ethereum blockchain. Finally, with the help of comprehensive examples, you will learn how to add security to smart contracts and then delve into the various security considerations that must be paid attention to
Notes Using arrays in Solidity
Print version record
Subject Electronic commerce -- Software
Web applications -- Programming
Blockchains (Databases)
Blockchains (Databases)
Electronic commerce
Genre/Form Software
Form Electronic book
ISBN 9781839218637
1839218630