Downloading the example code
The code bundle for the book is hosted on GitHub at https://github.com/HyperledgerHandsOn/trade-network. Once you follow the instructions carefully, you should be able to import the trade-contracts
and trade-apps
repos as submodules.
We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!
Conventions used
There are a number of text conventions used throughout this book.
CodeInText
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. For example; "The code to configure and launch our network using shell scripts can be found in the bash
folder in our repository."
A block of code is set as follows:
PeerOrgs:
Name: ImporterOrg
Domain: importerorg.trade.com
EnableNodeOUs: true
Template:
Count: 1
Users:
Count: 2
Any command-line input or output is written as follows:
$ export GOPATH=$HOME/go
Bold: Indicates a new term, an important word, or words that you see on the screen, for example, in menus or dialog boxes, also appear in the text like this. For example: "Retain the historical and evolutionary provenance of Hyperledger Fabric as a building block."
Warnings or important notes appear like this.
Tips and tricks appear like this.