Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Hands-On Blockchain with Hyperledger

You're reading from  Hands-On Blockchain with Hyperledger

Product type Book
Published in Jun 2018
Publisher Packt
ISBN-13 9781788994521
Pages 460 pages
Edition 1st Edition
Languages
Concepts
Authors (6):
Nitin Gaur Nitin Gaur
Profile icon Nitin Gaur
Luc Desrosiers Luc Desrosiers
Profile icon Luc Desrosiers
Venkatraman Ramakrishna Venkatraman Ramakrishna
Profile icon Venkatraman Ramakrishna
Petr Novotny Petr Novotny
Profile icon Petr Novotny
Salman A. Baset Salman A. Baset
Profile icon Salman A. Baset
Anthony O'Dowd Anthony O'Dowd
Profile icon Anthony O'Dowd
View More author details

Table of Contents (20) Chapters

Title Page
Copyright and Credits
Packt Upsell
Foreword
Contributors
Preface
1. Blockchain - Enterprise and Industry Perspective 2. Exploring Hyperledger Fabric 3. Setting the Stage with a Business Scenario 4. Designing a Data and Transaction Model with Golang 5. Exposing Network Assets and Transactions 6. Business Networks 7. A Business Network Example 8. Agility in a Blockchain Network 9. Life in a Blockchain Network 10. Governance, Necessary Evil of Regulated Industries 11. Hyperledger Fabric Security 12. The Future of Blockchain and the Challenges Ahead 1. Other Books You May Enjoy Index

Launching a sample trade network


So, now that we have all the configuration for our network, and also the channel artifacts and cryptographic material required to run it, all we need to do is start the network using the docker-compose command, as follows:

docker-compose -f docker-compose-e2e.yaml up

You can run this as a background process and redirect the standard output to a log file if you so choose. Otherwise, you will see the various containers starting up and logs from each displayed on the console.

Note

Note that on some OS configurations, setting up Fabric can be tricky. If you run into problems, consult the documentation. A detailed description of how to install a Fabric network and examples is provided at https://hyperledger-fabric.readthedocs.io/en/release-1.1/samples.html.

The network can be launched in the background using our trade.sh script as well; just run:

./trade.sh up

From a different terminal window, if you run docker ps -a, you will see something as follows:

CONTAINER ID  ...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}