Book Image

Blockchain for Enterprise

By : Narayan Prusty
Book Image

Blockchain for Enterprise

By: Narayan Prusty

Overview of this book

The increasing growth in blockchain use is enormous, and it is changing the way business is done. Many leading organizations are already exploring the potential of blockchain. With this book, you will learn to build end-to-end enterprise-level decentralized applications and scale them across your organization to meet your company's needs. This book will help you understand what DApps are and how the blockchain ecosystem works, via real-world examples. This extensive end-to-end book covers every blockchain aspect for business and for developers. You will master process flows and incorporate them into your own enterprise. You will learn how to use J.P. Morgan’s Quorum to build blockchain-based applications. You will also learn how to write applications that can help communicate enterprise blockchain solutions. You will learn how to write smart contracts that run without censorship and third-party interference. Once you've grasped what a blockchain is and have learned about Quorum, you will jump into building real-world practical blockchain applications for sectors such as payment and money transfer, healthcare, cloud computing, supply chain management, and much more.
Table of Contents (14 chapters)
Title Page
Packt Upsell
Contributors
Preface
Index

What are Ethereum transactions?


A transaction is a data package to transfer ether from an account to another account or contract, invoke methods of a contract, or deploy a new contract. A transaction is using Elliptic Curve Digital Signature Algorithm (ECDSA), which is a digital signature algorithm based on ECC. A transaction contains a signature identifying the sender and proving their intention, the amount of ether to transfer, the maximum number of computational steps the transaction execution is allowed to take (called a gas limit), and the cost the sender of the transaction is willing to pay for each computational step (called the gas price). The product of the gas used and the gas price is called the transaction fees.

In permissioned networks, ether is valueless. In a Quorum network, ether is supplied in the genesis block and is not generated dynamically at runtime. You need to supply ether in the genesis block. You need to provide gas to prevent attacks, such as infinite loops. Ether...