Intro to Hyperledger
In this module, we'll explore where Hyperledger came from, and how it has evolved over time.
The best way to understand how Hyperledger works is to set up your own node.
Example: Hyperledger for Car Dealerships
It's not the size of your node that matters - it's how you use it.
Launch the Sample App
NOTE: If you haven’t gone through the environment setup steps, please visit the previous section.
Before we start, you’ll want to make sure the first network example is down. Be sure to run this command from the first-network directory.
Switch to the example directory:
Let’s clean up with docker quickly:
docker rm -f $(docker ps -aq)
docker network prune
docker rmi dev-peer0.org1.example.com-fabcar-1.0-5c906e402ed29f20260ae42283216aa75549c571e2e380f3615826365d8269ba
This quickly clears the old image and prunes the network. This step is important when testing multiple docker apps to avoid any overlap or interference. (More on this here.)
Now that we have everything set up on the Hyperledger end, we can install our node.js client: