• Complain

Narayan Prusty [Narayan Prusty] - Blockchain for Enterprise

Here you can read online Narayan Prusty [Narayan Prusty] - Blockchain for Enterprise full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2018, publisher: Packt Publishing, genre: Romance novel. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Narayan Prusty [Narayan Prusty] Blockchain for Enterprise

Blockchain for Enterprise: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Blockchain for Enterprise" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Implement blockchain principles in your choice of domain using Ethereum

Key Features
  • Build permissioned enterprise-grade blockchain applications from scratch
  • Implement Blockchain-as-a-Service to enterprises in terms of deployment and security
  • Achieve privacy in blockchains using proxy re-encryption algorithms
Book Description

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 companys 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. Morgans 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 youve 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.

What you will learn
  • Learn how to set up Raft/IBFT Quorum networks
  • Implement Quorums privacy and security features
  • Write, compile, and deploy smart contracts
  • Learn to interact with Quorum using the web3.js JavaScript library
  • Learn how to execute atomic swaps between different networks
  • Build a secured Blockchain-as-a-Service for efficient business processes
  • Achieve data privacy in blockchains using proxy re-encryption
Who this book is for

This book is for innovators, digital transformers, and blockchain developers who want to build end-to-end, decentralized applications using the blockchain technology. If you want to scale your existing blockchain system across the enterprise, you will find this book useful, too. It adopts a practical approach to solving real problems in enterprises using a blend of theory and practice.

Downloading the example code for this book You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.

Narayan Prusty [Narayan Prusty]: author's other books


Who wrote Blockchain for Enterprise? Find out the surname, the name of the author of the book and a list of all author's works by series.

Blockchain for Enterprise — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Blockchain for Enterprise" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Introduction to EMRs data management and sharing systems

EMRs consist of critical, highly sensitive private information in healthcare, and need to be frequently shared among peers. EMR data management and sharing systems facilitate secure and trustable ways for different actors to read and write EMRs to the system. These systems should ensure privacy, security, availability, and fine-grained access control over EMR data. EMRs include prescriptions, lab reports, bills, and any other paper-based record that you can find in hospitals.

In general, an EMR data management and sharing system allow doctors to issue digital prescriptions, pharmacies to pull prescriptions based on a patient's identity, labs to issue digital reports, patients to see all their records and share them with others, and so on.

packt.com

Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.packt.co m and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at customercare@packtpub.com for more details.

At www.packt.co m , you can also read a collection of free technical articles, sign up for a range of free newsletters, and receive exclusive discounts and offers on Packt books and eBooks.

Ethereum

Ethereum is the most popular DApp after Bitcoin. Ethereum is a decentralized platform that allows us to build other blockchain-based DApps on top of it. In Ethereum, we build DApps using Ethereum smart contracts. Smart contracts are applications that run exactly as programmed without any possibility of downtime, censorship, fraud, or third-party interference. Ethereum can be thought of as a platform to deploy and run smart contracts. Ethereum supports two consensus protocols, PoW and PoA (Clique).

The main public Ethereum network uses PoW for consensus. If you want to deploy your own private Ethereum network, then you have to use PoA. PoW requires a lot of computation power to keep the blockchain secure, therefore it's good for public blockchain use, whereas PoA doesn't have any such computation power requirement; instead it requires a few authority nodes in the network to achieve consensus.

You must be wondering why we need smart contracts to build DApps. Why cannot we simply put formatted messages on blockchain in the form of transactions and interpret them on client? Well, using smart contracts gives you both technical and business benefits.
Why subscribe?
  • Spend less time learning and more time coding with practical eBooks and Videos from over 4,000 industry professionals

  • Improve your learning with Skill Plans built especially for you

  • Get a free eBook or video every month

  • Mapt is fully searchable

  • Copy and paste, print, and bookmark content

Istanbul Byzantine Fault Tolerence

Let's see how the IBFT consensus protocol works at a level that will make us comfortable enough to build DApps. We won't go in depth into IBFT as it's not necessary.

IBFT is a type of proof-of-authority protocol. In IBFT, there are two kinds of nodes: validator nodes ( referred to as authorities when they are linked to physical entities ) and regular nodes. Authority nodes are the ones that create blocks. IBFT is used in a network where there is a need for BFT, blocktime up to a few seconds is good enough, and we need a single confirmation (the absence of regular forks).

The system can tolerate at most F Byzantium or crashed nodes in a N validator nodes network that is, F = (N-1)/3 . The default block time in IBFT is between one to ten seconds and Quorum does allow you to customize this.

In IBFT, a round involves creating and committing a new block to the blockchain. A new round is started once a new block is committed in the (2F + 1) validators blockchain. Before each block creation round, the validators will pick one of them as the proposer. The proposer is the validator responsible for creating the block. For the block to be committed to the blockchain, it must be signed by at least (2F + 1) validators. So, there is a process which involves sending and receiving various messages between the purposer and other validators at each round to agree to the new block.

There are two algorithms supported by Quorum for selection of the purposer: round robin and sticky purposer. Round robin is used by default, and in round robin algorithms the purposer is selected in round robin fashion. But, in the sticky purposer algorithm, a single validator becomes the purposer for all rounds, and if the purposer crashes then the next validator is selected as the new purposer, which again remains the sole purposer for all rounds; the purposer remains constant until it fails. Regardless of the round robin or sticky purposer algorithm, if the purposer fails to commit a block in 1-10 seconds time, then a new round is started and the next validator becomes the purposer of the new round.

If the network manages to have more than F faulty nodes, then these faulty nodes can prevent creation of new blocks by declining to sign blocks. When a crashed node in the network comes up, it can get missed blocks from any node in the network. There is no way more than F faulty nodes can rewrite blocks.

The list of validators is stored in the header of genesis blocks, and the extraData field in the header contains the list of validators. For the first round, the first validator is selected. The header also contains various other fields and details related to IBFT to help the network reach consensus.

A validator can add or remove a validator. Even adding or removing new validators to the network requires 2F + 1 validators agreeing to it. This process of validators agreeing or disagreeing to adding or removing a validator is done manually. It cannot be an automatic process as validators can start adding multiple validating nodes of their own and compromise the network. Therefore, a manual process makes sure that other validators learn who the new validator is and decide whether to allow it or not.

You can learn more about how IBFT works in depth at https://github.com/ethereum/EIPs/issues/650.
Features of contracts

It is time to delve more deeply into contracts. Let's start with some new features and then we will go deeper into the features we have already seen.

Pushing images to Docker Hub

Before we push an image, let's understand some basic terminologies related to Docker:

  • Registry: A service that is storing your Docker images.
  • Repository: A collection of different Docker images with the same name that have different tags (versions).
  • Tag: M etadata you can use to distinguish versions of your Docker images so you can preserve older copies. When we created the Docker image earlier, we didn't provide a tag, so the default tag is latest. You can create a new tagged image from another image using the docker tag [:HOST|:USERID]IMAGE_NAME[:TAG_NAME] [:HOST|:USERID]IMAGE_NAME[:TAG_NAME] command. The host prefix is optional and is used to indicate the hostname of the Docker registry if the image belongs to a private Docker registry. If the image is for Docker Hub, then mention the username of your Docker Hub account.

To push an image to Docker Hub, you first need to create a Docker Hub account. Visit hub.docker.com and create an account. After you log in, you will see a screen similar to the following:

Now click on Create Repository and fill in the following form Visibility - photo 1

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Blockchain for Enterprise»

Look at similar books to Blockchain for Enterprise. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Blockchain for Enterprise»

Discussion, reviews of the book Blockchain for Enterprise and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.