Reader small image

You're reading from  Blockchain for Enterprise

Product typeBook
Published inSep 2018
Reading LevelBeginner
PublisherPackt
ISBN-139781788479745
Edition1st Edition
Languages
Concepts
Right arrow
Author (1)
Narayan Prusty
Narayan Prusty
author image
Narayan Prusty

Narayan Prusty is a full-stack developer. He works as a consultant for various start-ups around the world. He has worked on various technologies and programming languages but is very passionate about JavaScript, WordPress, Ethereum, Solr, React, Cordova, MongoDB, and AWS. Apart from consulting for various start-ups, he also runs a blog titled QNimate and a video tutorial site titled QScutter, where he shares information about a lot of the technologies he works on.
Read more about Narayan Prusty

Right arrow

Building the network


Before we proceed to writing smart contracts, let's create Quorum networks for USD currency for the +1 ISD code. We will make sure that these networks are permissioned and protected using node IDs.

So far with, all the networks we have created in this book, we have assumed that they are protected using whitelisted IPs. But Quorum provides a way to whitelist node IDs. You can apply the same practice to other networks built in this book. A cell phone number shouldn't be leaked outside of the network, and therefore it's important to protect the network at all costs.

Network permissioning in Quorum

Network permissioning is enabled at the individual node level by adding the --permissioned flag as the command-line parameter during node startup. When the flag is added, the node looks for a file named permissioned-nodes.json in the node's data directory folder.

The permissioned-nodes.json file contains a list of node identifiers (enode://nodeID@ip:port) that this specific node will...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Blockchain for Enterprise
Published in: Sep 2018Publisher: PacktISBN-13: 9781788479745

Author (1)

author image
Narayan Prusty

Narayan Prusty is a full-stack developer. He works as a consultant for various start-ups around the world. He has worked on various technologies and programming languages but is very passionate about JavaScript, WordPress, Ethereum, Solr, React, Cordova, MongoDB, and AWS. Apart from consulting for various start-ups, he also runs a blog titled QNimate and a video tutorial site titled QScutter, where he shares information about a lot of the technologies he works on.
Read more about Narayan Prusty